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 18:25:17 +0000
committerGitHub <noreply@github.com>2021-12-24 18:25:17 +0000
commitf14bbf5be35f88b0af48597d747f7a2cde83ac25 (patch)
tree1989d0bb12031b92946c66141342f086ea617227 /api/src/routes/guilds
parentFix IP leaks from bans route (diff)
downloadserver-f14bbf5be35f88b0af48597d747f7a2cde83ac25.tar.xz
Fix typo
Diffstat (limited to 'api/src/routes/guilds')
-rw-r--r--api/src/routes/guilds/#guild_id/bans.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/guilds/#guild_id/bans.ts b/api/src/routes/guilds/#guild_id/bans.ts
index e128df09..4d12ae46 100644
--- a/api/src/routes/guilds/#guild_id/bans.ts
+++ b/api/src/routes/guilds/#guild_id/bans.ts
@@ -17,7 +17,7 @@ router.get("/", route({ permission: "BAN_MEMBERS" }), async (req: Request, res:
 	/* Filter secret from database registry.*/
 	
 	bans.forEach((registry) => {
-	delete regitry.ip;
+	delete registry.ip;
 	});
 
 	return res.json(bans);