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

This commit is contained in:
2025-08-02 13:56:27 +05:00
parent 85485ae351
commit fc1aba3239

View File

@@ -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("atoll_en").strip() == t_user.t_atoll.name
and data.get("island_name_en").strip() == t_user.t_island.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() t_user.save()
send_sms( send_sms(
t_user.t_mobile, t_user.t_mobile,
@@ -228,7 +228,7 @@ def verify_user_with_person_api_task(user_id: int):
) )
return True return True
else: else:
t_user.verified = False t_user.t_verified = False
t_user.save() t_user.save()
send_sms( send_sms(