diff --git a/backend/api/views/main.py b/backend/api/views/main.py index 37b20621..eba9fd31 100644 --- a/backend/api/views/main.py +++ b/backend/api/views/main.py @@ -704,6 +704,7 @@ def uploadImage(id): elif account_type == Account.ADMIN: account = Admin.objects.get(id=id) + else: msg = "Level param doesn't match existing account types" return create_response(status=422, message=msg)