Skip to content

Commit

Permalink
Fix archiving of flux account (#862)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilco375 authored May 7, 2023
1 parent 7a21a97 commit b496180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def refresh_user_list
find_or_create_user(user_json)
end

users_not_in_json = User.active.in_amber.where.not(uid: users_json.pluck('id'))
users_not_in_json = User.active.in_amber.where.not(uid: users_json.pluck('id')).where.not(name: 'Streepsysteem Flux')
users_not_in_json.each(&:archive!)

send_slack_users_refresh_notification
Expand Down

0 comments on commit b496180

Please sign in to comment.