fix(spec/lint/review): lint and fix spec of previous commits, also fix based on tchak feedback

This commit is contained in:
Martin 2021-12-02 14:21:39 +01:00
parent d87f8b57cc
commit 1bb868714c
9 changed files with 36 additions and 33 deletions

View file

@ -95,7 +95,6 @@ class ExpiredDossiersDeletionService
deleted_dossier_ids << dossier.id
end
end
user_notifications.each do |(email, dossier_ids)|
dossier_ids = dossier_ids.intersection(deleted_dossier_ids)
if dossier_ids.present?