summary refs log tree commit diff
diff options
context:
space:
mode:
authorLachlanCourt <lachlan.m.court@gmail.com>2022-07-05 01:04:16 +1000
committerErkin Alp Güney <erkinalp9035@gmail.com>2022-07-04 22:22:43 +0300
commit99afcf0f3c937cfc691bd7bd26c425ed4d2747af (patch)
tree727c9385a9ca1f6566e798a20b551089a81b091d
parentSimplify role query as per code review (diff)
downloadserver-99afcf0f3c937cfc691bd7bd26c425ed4d2747af.tar.xz
Add semicolon
Diffstat (limited to '')
-rw-r--r--api/src/routes/guilds/#guild_id/roles/#role_id/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/guilds/#guild_id/roles/#role_id/index.ts b/api/src/routes/guilds/#guild_id/roles/#role_id/index.ts
index 2c1a4c7e..79cf39cc 100644
--- a/api/src/routes/guilds/#guild_id/roles/#role_id/index.ts
+++ b/api/src/routes/guilds/#guild_id/roles/#role_id/index.ts
@@ -16,7 +16,7 @@ const router = Router();
 router.get("/",route({}), async (req: Request, res: Response) => {
     const { guild_id, role_id } = req.params
     await Member.IsInGuildOrFail(req.user_id, guild_id);
-	const role = await Role.find({ guild_id, id: role_id })
+	const role = await Role.find({ guild_id, id: role_id });
 	return res.json(role);
 });