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:
parent
92dea0e89c
commit
ea523d06b7
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user