Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
style(social-authentication): remove unused commented line
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahydul committed Nov 23, 2023
1 parent 949adbd commit bc37407
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion decide/authentication/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit bc37407

Please sign in to comment.