mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
fix core daos
This commit is contained in:
@@ -208,7 +208,7 @@ def get_user_and_accounts(user_id):
|
||||
joinedload(User.organizations).subqueryload(Organization.services),
|
||||
)
|
||||
)
|
||||
return db.session.execute(stmt).scalars().one()
|
||||
return db.session.execute(stmt).scalars().unique().one()
|
||||
|
||||
|
||||
@autocommit
|
||||
|
||||
Reference in New Issue
Block a user