aboutsummaryrefslogtreecommitdiff
path: root/scripts/authentication/group.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-06 21:40:35 +0300
committerBonfaceKilz2021-10-06 21:55:27 +0300
commitd5f6670836cbed804a00e02ec0258d0c87564006 (patch)
treec2d342f2ec8546b0fe044210fe59dfd73d65b881 /scripts/authentication/group.py
parentdc378d26c003a8f0503ad69235d1685d66e4d611 (diff)
downloadgenenetwork2-d5f6670836cbed804a00e02ec0258d0c87564006.tar.gz
scripts: group: Replace args.group_name with data["field"]
Diffstat (limited to 'scripts/authentication/group.py')
-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")