diff options
author | Kuna <65683493+Thesourtimes@users.noreply.github.com> | 2021-12-24 18:25:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-24 18:25:17 +0000 |
commit | f14bbf5be35f88b0af48597d747f7a2cde83ac25 (patch) | |
tree | 1989d0bb12031b92946c66141342f086ea617227 /api/src/routes/guilds | |
parent | Fix IP leaks from bans route (diff) | |
download | server-f14bbf5be35f88b0af48597d747f7a2cde83ac25.tar.xz |
Fix typo
Diffstat (limited to 'api/src/routes/guilds')
-rw-r--r-- | api/src/routes/guilds/#guild_id/bans.ts | 2 |
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); |