Skip to content

Commit 72f0b4e

Browse files
gg
1 parent 32a7240 commit 72f0b4e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/auth/group/create.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def create_group():
4444
"group_leader": user_email, # Store the creator's email as the group leader
4545
"created_by": user_id,
4646
"created_at": firestore.SERVER_TIMESTAMP,
47-
"members": [user_email] # Add the creator's email as the first member
47+
"members": [user_email], # Add the creator's email as the first member
48+
"privacy":"private" # Private by default
4849
}
4950

5051
# Save the group in Firestore

0 commit comments

Comments
 (0)