From b488b08f3f84c8af3e037a7604807a91948745db Mon Sep 17 00:00:00 2001 From: jain Date: Thu, 20 Jul 2023 12:25:41 +0530 Subject: [PATCH 1/2] google login chnages --- account/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account/views.py b/account/views.py index 10a538f..9d985fb 100644 --- a/account/views.py +++ b/account/views.py @@ -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') From 0f5dfc2e9ac0a12c2a9514f1456d9f69b0074fb3 Mon Sep 17 00:00:00 2001 From: jain Date: Thu, 20 Jul 2023 12:27:22 +0530 Subject: [PATCH 2/2] google login chnages --- account/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account/views.py b/account/views.py index 9d985fb..c19cd4f 100644 --- a/account/views.py +++ b/account/views.py @@ -40,7 +40,7 @@ from account.utils import (send_otp_email, send_support_email, custom_response, from junior.serializers import JuniorProfileSerializer from guardian.serializers import GuardianProfileSerializer -class GoogleLoginMixin: +class GoogleLoginMixin(object): """google login mixin""" @staticmethod def google_login(request):