From b6da4924717bd1986796405b9780e2f2148baaca Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Fri, 7 May 2021 21:10:03 -0400 Subject: [PATCH] Update send_webhook.ts --- src/helpers/webhooks/send_webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/webhooks/send_webhook.ts b/src/helpers/webhooks/send_webhook.ts index ab96626df..d3956eadc 100644 --- a/src/helpers/webhooks/send_webhook.ts +++ b/src/helpers/webhooks/send_webhook.ts @@ -66,7 +66,7 @@ export async function sendWebhook( const result = await rest.runMethod( "post", - `${endpoints.WEBHOOK(webhookId, webhookToken)}?wait=${options.wait}${ + `${endpoints.WEBHOOK(webhookId, webhookToken)}?wait=${options.wait ?? false}${ options.threadId ? `&thread_id=${options.threadId}` : "" }`, {