diff --git a/api/tasks.py b/api/tasks.py index 002a3a4..217aff1 100644 --- a/api/tasks.py +++ b/api/tasks.py @@ -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(