From cb8cf6a424efb9962994cad27aca71935c90084a Mon Sep 17 00:00:00 2001 From: "13621160019@163.com" <13621160019@163.com> Date: Tue, 10 Aug 2021 11:28:43 +0800 Subject: [PATCH] fixed typo in API --- myems-api/core/contact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/myems-api/core/contact.py b/myems-api/core/contact.py index 7166f0c5..3f780b1f 100644 --- a/myems-api/core/contact.py +++ b/myems-api/core/contact.py @@ -237,7 +237,7 @@ class ContactItem: if not id_.isdigit() or int(id_) <= 0: raise falcon.HTTPError(falcon.HTTP_400, title='API.BAD_REQUEST', - description='API.INVALID_') + description='API.INVALID_CONTACT_ID') new_values = json.loads(raw_json)