Skip to content

Commit

Permalink
fixes more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Oct 10, 2024
1 parent c1ec3c9 commit edfef83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test-server/test_functions_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def func(
):
if a.get("DO_NOT_LINK"):
return ShouldNotAutomaticallyLink()
if l is not None and l.get("id") == o.getUserId():
if l is not None and l.id == o.get_user_id():
return ShouldNotAutomaticallyLink()
return ShouldAutomaticallyLink(should_require_verification=False)

Expand All @@ -91,7 +91,7 @@ async def func(
):
if a.get("DO_NOT_LINK"):
return ShouldNotAutomaticallyLink()
if l is not None and l.get("id") == o.getUserId():
if l is not None and l.id == o.get_user_id():
return ShouldNotAutomaticallyLink()
return ShouldAutomaticallyLink(should_require_verification=True)

Expand Down

0 comments on commit edfef83

Please sign in to comment.