Skip to content

Commit d9ce75f

Browse files
committed
Fixed multiple groups for user
1 parent 1763683 commit d9ce75f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

brood/actions.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -629,11 +629,6 @@ def get_user_with_groups(
629629
f"Did not find user with filters username: {username}, email: {email}, "
630630
f"id: {user_id}, application_id: {application_id} and web3_address: {web3_address}"
631631
)
632-
if len(objects) > 1:
633-
raise Exception(
634-
f"Too many results for user with filters username: {username}, email: {email}, "
635-
f"id: {user_id} and application_id: {application_id} and web3_address: {web3_address}"
636-
)
637632

638633
user = objects[0][0]
639634
groups = []

0 commit comments

Comments
 (0)