We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 181399d commit 2dee6afCopy full SHA for 2dee6af
1 file changed
packages/blocks/http/src/lib/common/webhook-url-validator.ts
@@ -51,10 +51,8 @@ export async function validateAndRewritePublicWebhookUrl(
51
await validateHost(userUrl);
52
return userUrl;
53
} catch (originalError) {
54
- const [publicUrl, internalApiUrl] = await Promise.all([
55
- networkUtls.getPublicUrl(),
56
- networkUtls.getInternalApiUrl(),
57
- ]);
+ const publicUrl = await networkUtls.getPublicUrl();
+ const internalApiUrl = networkUtls.getInternalApiUrl();
58
59
const publicUrlObj = new URL(publicUrl);
60
const internalUrlObj = new URL(internalApiUrl);
0 commit comments