Skip to content

Commit 1a0f13c

Browse files
committed
fix(webhook): add logging
1 parent 1b032b0 commit 1a0f13c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/api/src/services/webhook.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ export const callWebhook = async (
4646
webhookUrl = webhooksData[0].url;
4747
}
4848

49+
logger.debug("Calling webhook...", { webhookUrl, teamId, specified, v1, eventType, awaitWebhook });
50+
4951
if (!webhookUrl) {
5052
return null;
5153
}
@@ -128,7 +130,6 @@ export const callWebhook = async (
128130
"Content-Type": "application/json",
129131
...webhookUrl.headers,
130132
},
131-
timeout: v1 ? 10000 : 30000, // 10 seconds timeout (v1)
132133
}
133134
)
134135
.catch((error) => {

0 commit comments

Comments
 (0)