summary refs log tree commit diff
path: root/api/src/routes/guilds
diff options
context:
space:
mode:
authorKuna <65683493+Thesourtimes@users.noreply.github.com>2021-12-24 19:08:24 +0000
committerGitHub <noreply@github.com>2021-12-24 19:08:24 +0000
commit20d20bcd66e4beb2733506d4ef798e2189caa8e1 (patch)
treeaae8ea4d75d8d6f8774c864f04a34da04f150493 /api/src/routes/guilds
parent(Finally) make a temporary fix for IP leak (diff)
downloadserver-20d20bcd66e4beb2733506d4ef798e2189caa8e1.tar.xz
Comment about the hotfix
Diffstat (limited to 'api/src/routes/guilds')
-rw-r--r--api/src/routes/guilds/#guild_id/bans.ts2
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;