Update webhook.ts
This commit is contained in:
parent
ae90370543
commit
5c05bb12a7
|
@ -86,7 +86,7 @@ export const callWebhook = async (
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
},
|
},
|
||||||
timeout: 10000, // 10 seconds timeout
|
timeout: v1 ? 10000 : 30000, // 10 seconds timeout (v1)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
|
|
Loading…
Reference in New Issue