summary refs log tree commit diff
path: root/src/routes/api/v8
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-23 22:10:01 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-23 22:10:01 +0100
commit72204ed419e0160283f9eefdd50b9702f6ac75ef (patch)
treee7bf5961ada7e18c4601c4e0c2665b7c7b9d1461 /src/routes/api/v8
parent:bug: [Member] list fix to also return user (diff)
downloadserver-72204ed419e0160283f9eefdd50b9702f6ac75ef.tar.xz
:pencil: typo
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);