Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update webhook.ts

Nicolas5c05bb12a7b0
diff --git a/apps/api/src/services/webhook.ts b/apps/api/src/services/webhook.ts
index f077db420..06c1fdf80 100644
--- a/apps/api/src/services/webhook.ts
+++ b/apps/api/src/services/webhook.ts
@@ -86,7 +86,7 @@ export const callWebhook = async (
headers: {
"Content-Type": "application/json",
},
- timeout: 10000, // 10 seconds timeout
+ timeout: v1 ? 10000 : 30000, // 10 seconds timeout (v1)
}
)
.catch((error) => {