mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 19:02:33 +01:00
Fix typo
This commit is contained in:
parent
9ee4729ee0
commit
f51f34dedd
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user