Merge pull request #4749 from betagouv/fix-pending-demandes
fix pending demandes
This commit is contained in:
commit
9214476fc0
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ module Manager
|
||||||
end
|
end
|
||||||
|
|
||||||
def pending_demandes
|
def pending_demandes
|
||||||
already_approved_emails = Administrateur.eager(:user)
|
already_approved_emails = Administrateur.eager_load(:user)
|
||||||
.where(users: { email: demandes.map { |d| d[:email] } })
|
.where(users: { email: demandes.map { |d| d[:email] } })
|
||||||
.map(&:email)
|
.map(&:email)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue