diff options
| author | Frederick Muriuki Muriithi | 2025-12-15 12:22:25 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-12-15 12:22:25 -0600 |
| commit | 1f2c00e2657f1b7edcfcc9f9bd1a573625d7fb29 (patch) | |
| tree | f16234f5fa09ffffc94628ac2b31da51b0e7a71b /gn_auth/auth/authorisation/users/collections | |
| parent | 6fd20bd7973f73db1f9fbd1e35dae503ebb3bce9 (diff) | |
| download | gn-auth-main.tar.gz | |
Diffstat (limited to 'gn_auth/auth/authorisation/users/collections')
| -rw-r--r-- | gn_auth/auth/authorisation/users/collections/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn_auth/auth/authorisation/users/collections/models.py b/gn_auth/auth/authorisation/users/collections/models.py index 63443ef..30242c2 100644 --- a/gn_auth/auth/authorisation/users/collections/models.py +++ b/gn_auth/auth/authorisation/users/collections/models.py @@ -72,8 +72,8 @@ def __retrieve_old_accounts__(rconn: Redis) -> dict: def parse_collection(coll: dict) -> dict: """Parse the collection as persisted in redis to a usable python object.""" - created = coll.get("created", coll.get("created_timestamp")) - changed = coll.get("changed", coll.get("changed_timestamp")) + created = coll.get("created", coll.get("created_timestamp", "")) + changed = coll.get("changed", coll.get("changed_timestamp", "")) return { "id": UUID(coll["id"]), "name": coll["name"], |
