1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-09 20:22:47 +01:00

Fix lint: let -> const

This commit is contained in:
TomatoCake 2024-06-05 07:05:30 +02:00
parent 92dea0e89c
commit ea523d06b7

View File

@ -99,7 +99,7 @@ router.get(
async (req: Request, res: Response) => {
const { guild_id, user_id } = req.params;
let ban = (await Ban.findOneOrFail({
const ban = (await Ban.findOneOrFail({
where: { guild_id: guild_id, user_id: user_id },
})) as BanRegistrySchema;