fix: oauth key error

This commit is contained in:
pablohashescobar 2023-01-16 23:23:55 +05:30
parent 7f4e1ba3b4
commit c33fc0e0ec

View File

@ -223,8 +223,8 @@ class OauthEndpoint(BaseAPIView):
username=username, username=username,
email=email, email=email,
mobile_number=mobile_number, mobile_number=mobile_number,
first_name=data["first_name"], first_name=data.get("first_name", ""),
last_name=data["last_name"], last_name=data.get("last_name", ""),
is_email_verified=email_verified, is_email_verified=email_verified,
is_password_autoset=True, is_password_autoset=True,
) )