mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-08-25 13:49:40 +00:00
google login chnages
This commit is contained in:
@ -40,10 +40,10 @@ from account.utils import (send_otp_email, send_support_email, custom_response,
|
||||
from junior.serializers import JuniorProfileSerializer
|
||||
from guardian.serializers import GuardianProfileSerializer
|
||||
|
||||
class GoogleLoginMixin(object):
|
||||
class GoogleLoginMixin:
|
||||
"""google login mixin"""
|
||||
@staticmethod
|
||||
def google_login(self, request):
|
||||
def google_login(request):
|
||||
"""google login function"""
|
||||
access_token = request.data.get('access_token')
|
||||
user_type = request.data.get('user_type')
|
||||
|
Reference in New Issue
Block a user