forked from rDrama/rDrama
1
0
Fork 0

fill owner_id when creating ping groups

master
Aevann 2024-02-11 15:39:16 +02:00
parent 61e8c1f4ce
commit 3a5242cd8c
1 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,10 @@ def create_group(v):
g.db.add(v)
if v.shadowbanned: abort(500)
group = Group(name=name)
group = Group(
name=name,
owner_id=v.id,
)
g.db.add(group)
group_membership = GroupMembership(