mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-10-05 01:15:23 +00:00
fix(user): update verification status field to t_verified in verify_user_with_person_api_task
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 6m27s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 6m27s
This commit is contained in:
@@ -220,7 +220,7 @@ def verify_user_with_person_api_task(user_id: int):
|
||||
and data.get("atoll_en").strip() == t_user.t_atoll.name
|
||||
and data.get("island_name_en").strip() == t_user.t_island.name
|
||||
):
|
||||
t_user.verified = True
|
||||
t_user.t_verified = True
|
||||
t_user.save()
|
||||
send_sms(
|
||||
t_user.t_mobile,
|
||||
@@ -228,7 +228,7 @@ def verify_user_with_person_api_task(user_id: int):
|
||||
)
|
||||
return True
|
||||
else:
|
||||
t_user.verified = False
|
||||
t_user.t_verified = False
|
||||
t_user.save()
|
||||
|
||||
send_sms(
|
||||
|
Reference in New Issue
Block a user