diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index eeefa5ac0..48481299e 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -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