aboutsummaryrefslogtreecommitdiffstats
path: root/lib/webhooks.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/webhooks.js')
-rw-r--r--lib/webhooks.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/webhooks.js b/lib/webhooks.js
index c282ceea..2dbdf7c1 100644
--- a/lib/webhooks.js
+++ b/lib/webhooks.js
@@ -24,9 +24,7 @@ callWebhook = (invoice, payment) => {
memo,
confirmed,
text,
- webhook,
- })
- .json()
- .catch(console.log);
+ webhook
+ }).res().catch(console.log);
}
};