aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBonfaceKilz2021-11-05 17:40:52 +0300
committerBonfaceKilz2021-11-05 17:40:52 +0300
commit990d2e4305ed89c2bc78ff370b71a3a4f68e5f01 (patch)
treeb09e2f5a6d44a290f41d8cc8f428fd1bd8520904 /scripts
parent178fe53c907b8857865236d9066d7f6f3cf3d9a7 (diff)
downloadgenenetwork2-990d2e4305ed89c2bc78ff370b71a3a4f68e5f01.tar.gz
Add created_timestamp when creating a new group
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/authentication/group.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/authentication/group.py b/scripts/authentication/group.py
index 08652454..dd9ba808 100755
--- a/scripts/authentication/group.py
+++ b/scripts/authentication/group.py
@@ -123,6 +123,7 @@ def create_group_data(users: Dict, target_group: str,
"name": target_group,
"admins": list(admin_ids),
"members": list(member_ids),
+ "created_timestamp": timestamp,
"changed_timestamp": timestamp,
})}