diff options
author | Kuna <65683493+Thesourtimes@users.noreply.github.com> | 2021-12-24 19:08:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-24 19:08:24 +0000 |
commit | 20d20bcd66e4beb2733506d4ef798e2189caa8e1 (patch) | |
tree | aae8ea4d75d8d6f8774c864f04a34da04f150493 /api/src | |
parent | (Finally) make a temporary fix for IP leak (diff) | |
download | server-20d20bcd66e4beb2733506d4ef798e2189caa8e1.tar.xz |
Comment about the hotfix
Diffstat (limited to 'api/src')
-rw-r--r-- | api/src/routes/guilds/#guild_id/bans.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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; |