1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-06 19:02:33 +01:00
This commit is contained in:
Kuna 2021-12-24 18:25:17 +00:00 committed by GitHub
parent 9ee4729ee0
commit f51f34dedd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ router.get("/", route({ permission: "BAN_MEMBERS" }), async (req: Request, res:
/* Filter secret from database registry.*/ /* Filter secret from database registry.*/
bans.forEach((registry) => { bans.forEach((registry) => {
delete regitry.ip; delete registry.ip;
}); });
return res.json(bans); return res.json(bans);