summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMathMan05 <mathmanrm@gmail.com>2025-11-19 09:07:57 -0600
committerMathMan05 <mathmanrm@gmail.com>2025-11-19 09:07:57 -0600
commit8bdc577f6fdb87fb95ba81399d7f3a2f5467db97 (patch)
treea8a463a8ce9a570df142f8c23a546cd4bffd86ed /src
parentrearange errors (diff)
downloadserver-ts-8bdc577f6fdb87fb95ba81399d7f3a2f5467db97.tar.xz
correctly check query
Diffstat (limited to 'src')
-rw-r--r--src/api/util/handlers/Webhook.ts2
1 files changed, 1 insertions, 1 deletions
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();