summary refs log tree commit diff
path: root/api/src/routes/invites/index.ts
diff options
context:
space:
mode:
authorThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-10 17:55:48 +0200
committerThe Arcane Brony <myrainbowdash949@gmail.com>2021-10-10 17:55:48 +0200
commitc9e827b3e928b0e674b2455aea71d191864efb54 (patch)
tree96fad0c94aabfe1dba2fdacea923a2535c54b070 /api/src/routes/invites/index.ts
parent:bug: fix null user in identify (diff)
downloadserver-c9e827b3e928b0e674b2455aea71d191864efb54.tar.xz
Fix duplicate key
Diffstat (limited to 'api/src/routes/invites/index.ts')
-rw-r--r--api/src/routes/invites/index.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/api/src/routes/invites/index.ts b/api/src/routes/invites/index.ts

index 0fcf7c86..185311bc 100644 --- a/api/src/routes/invites/index.ts +++ b/api/src/routes/invites/index.ts
@@ -33,7 +33,6 @@ router.delete("/:code", route({}), async (req: Request, res: Response) => { await Promise.all([ Invite.delete({ code }), - Guild.update({ vanity_url_code: code }, { vanity_url_code: undefined }), emitEvent({ event: "INVITE_DELETE", guild_id: guild_id,