We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b92155 commit 1ca714eCopy full SHA for 1ca714e
integrate/data_manager.py
@@ -29,6 +29,8 @@ def find_user(user_id=None, user_email=None):
29
return row
30
else:
31
unknown_id = int(user_id)
32
+ if user_email == row.get("email"):
33
+ return row
34
35
if unknown_email and found_id is not None:
36
return f"USER EMAIL: {unknown_email} NOT FOUND BUT USER ID: {found_id}"
0 commit comments