From bc37407d83e35d3b482c0f46c06657f37053f904 Mon Sep 17 00:00:00 2001 From: Ahydul Date: Thu, 23 Nov 2023 09:55:31 +0100 Subject: [PATCH] style(social-authentication): remove unused commented line --- decide/authentication/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/decide/authentication/views.py b/decide/authentication/views.py index 92829d2bb..de8d91e79 100644 --- a/decide/authentication/views.py +++ b/decide/authentication/views.py @@ -25,7 +25,6 @@ def post(self, request): userid = request.data.get('userid', '') user = get_object_or_404(User,id=userid) - # socialtoken = SocialToken.objects.get(account__user=request.user, account__provider='github') token, created = Token.objects.get_or_create(user=user) return Response({'token': token.key})