add Response
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Jakub K 2024-02-01 23:12:32 +01:00
parent aed34bcf54
commit 78ae14169a

View File

@ -122,3 +122,4 @@ class GetAuthTokenView(APIView):
return Response(response.json()) return Response(response.json())
except: except:
print("ERROR") print("ERROR")
return Response({"error": "error"}, status=status.HTTP_400_BAD_REQUEST)