From 5607d12f5b9978e868ecc73f7eb4ecd1f52e45d0 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Tue, 29 Jun 2021 12:00:31 -0400 Subject: [PATCH] Add 500 return code to docstring --- src/webqueue2api/api/resources/login.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webqueue2api/api/resources/login.py b/src/webqueue2api/api/resources/login.py index 29430f8..53ea15f 100644 --- a/src/webqueue2api/api/resources/login.py +++ b/src/webqueue2api/api/resources/login.py @@ -13,6 +13,7 @@ def post(self) -> tuple: 200 (OK): On success. 401 (Unauthroized): When username or password are incorrect. 422 (Unprocessable Entitiy): When the username or password can't be parsed. + 500 (Internal Service Error): On error. Example: curl -X POST