chore: fix linting issues
This commit is contained in:
parent
5cd9fd416d
commit
5d348d4165
@ -14,6 +14,7 @@ usersRouter.get('/', async (_req: Request, res: Response) => {
|
|||||||
const users = await collections.users?.find({}).toArray()
|
const users = await collections.users?.find({}).toArray()
|
||||||
|
|
||||||
res.status(200).send(users)
|
res.status(200).send(users)
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
res.status(500).send(error.message)
|
res.status(500).send(error.message)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user