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 | f51f34dedd229011f997364b13ca659a7eb1bd8c (patch) | |
tree | d933ff6b4f746e2e88eb15aa98d30e270ad91a46 /api/src | |
parent | Fix IP leaks from bans route (diff) | |
download | server-f51f34dedd229011f997364b13ca659a7eb1bd8c.tar.xz |
Fix typo
Diffstat (limited to 'api/src')
-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); |