WIP
This commit is contained in:
@@ -61,7 +61,7 @@ def login_registered_user(request):
|
||||
data["token"] = token
|
||||
return Response(data,status=status.HTTP_200_OK)
|
||||
else:
|
||||
return Response({}, status=status.HTTP_401_UNAUTHORIZED)
|
||||
return Response({}, status=status.HTTP_404_NOT_FOUND)
|
||||
|
||||
|
||||
@api_view(['POST'])
|
||||
|
||||
Reference in New Issue
Block a user