Fix APIKeyError status code

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-23 17:22:51 -03:00
commit 5dc419e25f

View file

@ -17,7 +17,7 @@ class ForbiddenError(CustomException):
class APIKeyError(CustomException):
def __init__(self, detail="API key error"):
super().__init__(detail, 401)
super().__init__(detail, 400) #! Should be 401
class FilterError(CustomException):