Skip to content

Commit 2dee6af

Browse files
committed
Fix
1 parent 181399d commit 2dee6af

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

packages/blocks/http/src/lib/common/webhook-url-validator.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,8 @@ export async function validateAndRewritePublicWebhookUrl(
5151
await validateHost(userUrl);
5252
return userUrl;
5353
} catch (originalError) {
54-
const [publicUrl, internalApiUrl] = await Promise.all([
55-
networkUtls.getPublicUrl(),
56-
networkUtls.getInternalApiUrl(),
57-
]);
54+
const publicUrl = await networkUtls.getPublicUrl();
55+
const internalApiUrl = networkUtls.getInternalApiUrl();
5856

5957
const publicUrlObj = new URL(publicUrl);
6058
const internalUrlObj = new URL(internalApiUrl);

0 commit comments

Comments
 (0)