summary refs log tree commit diff
path: root/src/routes/api/v8
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/api/v8')
-rw-r--r--src/routes/api/v8/channels/#CHANNELID/invites.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/api/v8/channels/#CHANNELID/invites.ts b/src/routes/api/v8/channels/#CHANNELID/invites.ts

index ee71d1ee..9d03d9f0 100644 --- a/src/routes/api/v8/channels/#CHANNELID/invites.ts +++ b/src/routes/api/v8/channels/#CHANNELID/invites.ts
@@ -39,7 +39,7 @@ router.post("/", check(InviteCreateSchema), async (req: Request, res: Response) inviter_id: usID, }; - await new InviteModel(invite).save(); // ! samuel ist ein hurensohn + await new InviteModel(invite).save(); await emitEvent({ event: "INVITE_CREATE", data: invite } as InviteCreateEvent); res.status(201).send(invite);