correctif(users.expires): maj l'appel a process_expired car le service est instanciable maintenant

This commit is contained in:
Martin 2023-11-21 10:18:58 +01:00
parent 7cb6eadf18
commit fd81936baf
2 changed files with 4 additions and 4 deletions

View file

@ -4,6 +4,6 @@ class Cron::ExpiredUsersDeletionJob < Cron::CronJob
def perform(*args)
return if ENV['EXPIRE_USER_DELETION_JOB_LIMIT'].blank?
Expired::UsersDeletionService.process_expired
Expired::UsersDeletionService.new.process_expired
end
end