aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-05-17 12:39:49 -0700
committerAdam Soltys <[email protected]>2024-05-17 12:39:55 -0700
commitb09b68f6cde8723386b2f229701db6ef57251fec (patch)
tree66f145765bb6ceb05b5c2c7c6bc3c3d378303efc
parent175156e0a20008c8568481cf4890feb9915c14d9 (diff)
downloadcoinos-server-b09b68f6cde8723386b2f229701db6ef57251fec.tar.gz
coinos-server-b09b68f6cde8723386b2f229701db6ef57251fec.zip
allow self signed cert for webhooks
-rw-r--r--lib/webhooks.js1
1 files changed, 1 insertions, 0 deletions
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;
}