aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/auth/authorisation/resources/request_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/auth/authorisation/resources/request_utils.py')
-rw-r--r--gn_auth/auth/authorisation/resources/request_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/resources/request_utils.py b/gn_auth/auth/authorisation/resources/request_utils.py
index 03d3c3b..5fe6a29 100644
--- a/gn_auth/auth/authorisation/resources/request_utils.py
+++ b/gn_auth/auth/authorisation/resources/request_utils.py
@@ -7,7 +7,7 @@ def check_form(form, *fields) -> Either:
"""Check form for errors"""
def __check_field__(errors, field):
if not bool(form.get(field)):
- return errors + (f"Missing `{field}` value.")
+ return errors + (f"Missing `{field}` value.",)
return errors
errors = reduce(__check_field__, fields, tuple())