summary refs log tree commit diff
path: root/api/src
diff options
context:
space:
mode:
authorKuna <65683493+Thesourtimes@users.noreply.github.com>2021-12-07 19:40:09 +0300
committerGitHub <noreply@github.com>2021-12-07 19:40:09 +0300
commit349229c1b9141e8e50ba122f73ff37264e22d252 (patch)
tree921ec4b3e3f58aa3ab76a92b85515ae01a1e59b1 /api/src
parentUpdate index.ts (diff)
downloadserver-349229c1b9141e8e50ba122f73ff37264e22d252.tar.xz
Update index.ts
Diffstat (limited to 'api/src')
-rw-r--r--api/src/routes/invites/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/invites/index.ts b/api/src/routes/invites/index.ts
index a237ea90..a2cf4cb5 100644
--- a/api/src/routes/invites/index.ts
+++ b/api/src/routes/invites/index.ts
@@ -15,7 +15,7 @@ router.get("/:code", route({}), async (req: Request, res: Response) => {
 
 router.post("/:code", route({}), async (req: Request, res: Response) => {
 	const { code } = req.params;
-        const { guild_id } = await Invite.findOneOrFail({ code })
+    const { guild_id } = await Invite.findOneOrFail({ code })
 	const { features } = await Guild.findOneOrFail({ id: guild_id});
 	const { public_flags } = await User.findOneOrFail({ id: req.user_id });