Commit dc9384f9 by Tom Christie

Use correct status code

parent 5ae49a4e
......@@ -24,7 +24,7 @@ class ParseError(APIException):
class Unauthenticated(APIException):
status_code = status.HTTP_401_UNAUTHENTICATED
status_code = status.HTTP_401_UNAUTHORIZED
default_detail = 'Incorrect or absent authentication credentials.'
def __init__(self, detail=None):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment