diff options
author | Frederick Muriuki Muriithi | 2025-07-03 10:36:22 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-07-03 10:36:22 -0500 |
commit | 82313c725aebc610fb979a686bcda2dfd11a36cc (patch) | |
tree | 0dedad655b81a1baea63b4ed27a8944da0b3da21 /gn_auth | |
parent | b2826cfa28da90496ba58e3070e5d09aa6b8830f (diff) | |
download | gn-auth-82313c725aebc610fb979a686bcda2dfd11a36cc.tar.gz |
Bugfix: Set the correct value.
Diffstat (limited to 'gn_auth')
-rw-r--r-- | gn_auth/auth/authorisation/users/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn_auth/auth/authorisation/users/models.py b/gn_auth/auth/authorisation/users/models.py index ef3ce7f..cc9a4f9 100644 --- a/gn_auth/auth/authorisation/users/models.py +++ b/gn_auth/auth/authorisation/users/models.py @@ -54,7 +54,7 @@ def __list_user_clauses_and_params__(**kwargs) -> tuple[list[str], dict[str, Uni if bool(kwargs.get("verified", "").strip()): clauses = clauses + ["verified=:verified"] - params["verified"] = 1 if kwargs["verified"].strip() == "yes" else "no" + params["verified"] = 1 if kwargs["verified"].strip() == "yes" else 0 if bool(kwargs.get("age", "").strip()): _clause, _param = __process_age_clause__(kwargs["age"].strip()) |