We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32a7240 commit 72f0b4eCopy full SHA for 72f0b4e
api/auth/group/create.py
@@ -44,7 +44,8 @@ def create_group():
44
"group_leader": user_email, # Store the creator's email as the group leader
45
"created_by": user_id,
46
"created_at": firestore.SERVER_TIMESTAMP,
47
- "members": [user_email] # Add the creator's email as the first member
+ "members": [user_email], # Add the creator's email as the first member
48
+ "privacy":"private" # Private by default
49
}
50
51
# Save the group in Firestore
0 commit comments