Skip to content

Commit

Permalink
chore: add registration_complete field when creating user with social…
Browse files Browse the repository at this point in the history
… providers
  • Loading branch information
sandronadiradze committed Oct 14, 2024
1 parent d9d2df4 commit 83cdf0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,7 @@ def _handle_new_user_signup(self, user_info):
user_type=self.validated_data["user_type"],
user_profile_type=CustomUser.UserProfileType.INDIVIDUAL,
is_verified=True,
registration_complete=True,
nickname=nickname,
avatar=self.validated_data["avatar"],
)
Expand Down Expand Up @@ -1196,6 +1197,7 @@ def _handle_new_user_signup(self, user_info):
user_type=self.validated_data["user_type"],
user_profile_type=CustomUser.UserProfileType.INDIVIDUAL,
is_verified=True,
registration_complete=True,
nickname=nickname,
avatar=self.validated_data["avatar"],
)
Expand Down

0 comments on commit 83cdf0a

Please sign in to comment.