From edfef833860291a5dbebd850b2e1c5dc402ebcfc Mon Sep 17 00:00:00 2001 From: rishabhpoddar Date: Thu, 10 Oct 2024 19:39:47 +0530 Subject: [PATCH] fixes more stuff --- tests/test-server/test_functions_mapper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-server/test_functions_mapper.py b/tests/test-server/test_functions_mapper.py index 3b744410..beb883be 100644 --- a/tests/test-server/test_functions_mapper.py +++ b/tests/test-server/test_functions_mapper.py @@ -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) @@ -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)