Fix ESLint & prettier

This commit is contained in:
TomatoCake
2024-07-18 12:52:00 +02:00
parent e7a98b6c46
commit 6be3714593
7 changed files with 50 additions and 19 deletions
@@ -95,7 +95,7 @@ router.post(
},
}),
async (req: Request, res: Response) => {
const { wait, thread_id } = req.query;
const { wait } = req.query;
if (!wait) return res.status(204).send();
const { webhook_id, token } = req.params;
@@ -15,6 +15,7 @@ router.get(
},
}),
async (req: Request, res: Response) => {
// TODO: Permission check
const { webhook_id } = req.params;
const webhook = await Webhook.findOneOrFail({
where: { id: webhook_id },