From 8bdc577f6fdb87fb95ba81399d7f3a2f5467db97 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Wed, 19 Nov 2025 09:07:57 -0600 Subject: [PATCH] correctly check query --- src/api/util/handlers/Webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/util/handlers/Webhook.ts b/src/api/util/handlers/Webhook.ts index 9037f650..54ef26ec 100644 --- a/src/api/util/handlers/Webhook.ts +++ b/src/api/util/handlers/Webhook.ts @@ -34,7 +34,7 @@ export const executeWebhook = async (req: Request, res: Response) => { throw DiscordApiErrors.CANNOT_SEND_EMPTY_MESSAGE; } - const { wait } = req.query; + const wait = req.query.wait === "true"; if (!wait) { res.status(204).send();