Skip to content
Snippets Groups Projects
Commit 0342a6f7 authored by Benjamin Ledel's avatar Benjamin Ledel
Browse files

* wrong status code

parent 0a53dc42
No related branches found
No related tags found
No related merge requests found
Pipeline #1652655 passed
......@@ -325,7 +325,7 @@ class CreateStatement(APIView):
"provider": "not found",
},
safe=False,
status=status.HTTP_400_BAD_REQUEST,
status=status.HTTP_401_UNAUTHORIZED,
)
provider = provider_auth.provider
......@@ -471,7 +471,7 @@ class CreateTANStatement(APIView):
"provider": "not found",
},
safe=False,
status=status.HTTP_400_BAD_REQUEST,
status=status.HTTP_401_UNAUTHORIZED,
)
provider = provider_auth.provider
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment