fix(export): avoid a crash when dossier user is deleted
This commit is contained in:
parent
0d40354298
commit
0721c98e65
1 changed files with 1 additions and 0 deletions
|
@ -1387,6 +1387,7 @@ class Dossier < ApplicationRecord
|
|||
end
|
||||
|
||||
def user_from_france_connect?
|
||||
return false if user_deleted?
|
||||
user.france_connect_information.present?
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue