1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-24 03:12:38 +01:00

Comment about the hotfix

This commit is contained in:
Kuna 2021-12-24 19:08:24 +00:00 committed by GitHub
parent d55e7c5b8d
commit ded0567d2c

View File

@ -19,6 +19,8 @@ export interface BanRegistrySchema {
const router: Router = Router();
/* TODO: Deleting the secrets is just a temporary go-around. Views should be implemented for both safety and better handling. */
router.get("/", route({ permission: "BAN_MEMBERS" }), async (req: Request, res: Response) => {
const { guild_id } = req.params;