From b09b68f6cde8723386b2f229701db6ef57251fec Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 17 May 2024 12:39:49 -0700 Subject: allow self signed cert for webhooks --- lib/webhooks.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/webhooks.js b/lib/webhooks.js index 5aed9287..b1f035a4 100644 --- a/lib/webhooks.js +++ b/lib/webhooks.js @@ -23,6 +23,7 @@ export const callWebhook = async (invoice, payment) => { text, secret, }, + https: { rejectUnauthorized: false } }); return res; } -- cgit v1.2.3