Fix status code
Signed-off-by: Andy Kwok <andy.kwok@improving.com>
This commit is contained in:
parent
b7376ad27c
commit
427c65c4e0
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class NeptuneAnalyticsAuthenticationError(NeptuneAnalyticsError):
|
||||||
self,
|
self,
|
||||||
message: str = "Authentication with Neptune Analytics failed. Please verify your credentials.",
|
message: str = "Authentication with Neptune Analytics failed. Please verify your credentials.",
|
||||||
name: str = "NeptuneAnalyticsAuthenticationError",
|
name: str = "NeptuneAnalyticsAuthenticationError",
|
||||||
status_code=status.HTTP_400_BAD_REQUEST
|
status_code=status.HTTP_401_UNAUTHORIZED
|
||||||
):
|
):
|
||||||
super().__init__(message, name, status_code)
|
super().__init__(message, name, status_code)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue