From b4b4a9e66683db180f05494e2ecbf98ccc854f54 Mon Sep 17 00:00:00 2001 From: TriForMine Date: Sat, 8 May 2021 09:18:23 +0200 Subject: [PATCH] fix(utils): add missing export of hash.ts (#914) * fix(utils): add missing export of hash.ts * Commit from GitHub Actions (Lint) Co-authored-by: TriForMine --- src/helpers/webhooks/send_webhook.ts | 5 ++--- src/util/mod.ts | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helpers/webhooks/send_webhook.ts b/src/helpers/webhooks/send_webhook.ts index d3956eadc..0a42ae4dd 100644 --- a/src/helpers/webhooks/send_webhook.ts +++ b/src/helpers/webhooks/send_webhook.ts @@ -66,9 +66,8 @@ export async function sendWebhook( const result = await rest.runMethod( "post", - `${endpoints.WEBHOOK(webhookId, webhookToken)}?wait=${options.wait ?? false}${ - options.threadId ? `&thread_id=${options.threadId}` : "" - }`, + `${endpoints.WEBHOOK(webhookId, webhookToken)}?wait=${options.wait ?? + false}${options.threadId ? `&thread_id=${options.threadId}` : ""}`, { ...options, allowed_mentions: options.allowedMentions, diff --git a/src/util/mod.ts b/src/util/mod.ts index 5adeab630..b2d22ebce 100644 --- a/src/util/mod.ts +++ b/src/util/mod.ts @@ -2,6 +2,7 @@ export * from "./bigint.ts"; export * from "./cache_members.ts"; export * from "./collection.ts"; export * from "./constants.ts"; +export * from "./hash.ts"; export * from "./loop_object.ts"; export * from "./permissions.ts"; export * from "./utils.ts";