diff options
| author | Adam Soltys <[email protected]> | 2024-05-17 12:39:49 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-05-17 12:39:55 -0700 |
| commit | b09b68f6cde8723386b2f229701db6ef57251fec (patch) | |
| tree | 66f145765bb6ceb05b5c2c7c6bc3c3d378303efc | |
| parent | 175156e0a20008c8568481cf4890feb9915c14d9 (diff) | |
| download | coinos-server-b09b68f6cde8723386b2f229701db6ef57251fec.tar.gz coinos-server-b09b68f6cde8723386b2f229701db6ef57251fec.zip | |
allow self signed cert for webhooks
| -rw-r--r-- | lib/webhooks.js | 1 |
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; } |
