diff options
Diffstat (limited to 'lib/webhooks.js')
| -rw-r--r-- | lib/webhooks.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/webhooks.js b/lib/webhooks.js index 3d133cf8..0dc1df52 100644 --- a/lib/webhooks.js +++ b/lib/webhooks.js @@ -1,5 +1,5 @@ -const wretch = require("wretch"); -const fetch = require("node-fetch"); +import wretch from 'wretch'; +import fetch from 'node-fetch'; wretch().polyfills({ fetch }); callWebhook = (invoice, payment) => { |
