From 20d20bcd66e4beb2733506d4ef798e2189caa8e1 Mon Sep 17 00:00:00 2001 From: Kuna <65683493+Thesourtimes@users.noreply.github.com> Date: Fri, 24 Dec 2021 19:08:24 +0000 Subject: Comment about the hotfix --- api/src/routes/guilds/#guild_id/bans.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/routes/guilds/#guild_id/bans.ts b/api/src/routes/guilds/#guild_id/bans.ts index 75a50038..1e09a38d 100644 --- a/api/src/routes/guilds/#guild_id/bans.ts +++ b/api/src/routes/guilds/#guild_id/bans.ts @@ -19,6 +19,8 @@ export interface BanRegistrySchema { const router: Router = Router(); +/* TODO: Deleting the secrets is just a temporary go-around. Views should be implemented for both safety and better handling. */ + router.get("/", route({ permission: "BAN_MEMBERS" }), async (req: Request, res: Response) => { const { guild_id } = req.params; -- cgit 1.4.1