Fix error codes

This commit is contained in:
amcmanu3 2023-02-01 17:16:08 -05:00
parent bb482b8381
commit 42b564de1c

View File

@ -159,7 +159,7 @@ class UploadHandler(BaseHandler):
if not superuser:
return self.finish_json(
413,
401,
{
"status": "error",
"error": "UNAUTHORIZED ACCESS",
@ -175,7 +175,7 @@ class UploadHandler(BaseHandler):
):
return self.finish_json(
413,
415,
{
"status": "error",
"error": "TYPE ERROR",