about summary refs log tree commit diff
path: root/scripts/authentication
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/authentication')
-rw-r--r--scripts/authentication/group.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/authentication/group.py b/scripts/authentication/group.py
index 08a4a2bc..c8c2caad 100644
--- a/scripts/authentication/group.py
+++ b/scripts/authentication/group.py
@@ -145,7 +145,7 @@ if __name__ == "__main__":
                                 data.get("value", ""))
 
     groups = json.loads(REDIS_CONN.hget("groups",
-                                        args.group_name))  # type: ignore
+                                        data.get("field")))  # type: ignore
     if created_p:
         exit(f"\nSuccessfully created the group: '{args.group_name}'\n"
              f"`HGETALL groups {args.group_name}`: {groups}\n")