diff options
-rw-r--r-- | gn_auth/auth/authorisation/resources/request_utils.py | 2 |
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 5fe6a29..ade779e 100644 --- a/gn_auth/auth/authorisation/resources/request_utils.py +++ b/gn_auth/auth/authorisation/resources/request_utils.py @@ -10,7 +10,7 @@ def check_form(form, *fields) -> Either: return errors + (f"Missing `{field}` value.",) return errors - errors = reduce(__check_field__, fields, tuple()) + errors: tuple[str, ...] = reduce(__check_field__, fields, tuple()) if len(errors) > 0: return Left({ "error": "Invalid request data!", |