diff --git a/index.js b/index.js index eebdd6f..6d4b62b 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ const config = require("./config"); -const fetch = require('node-fetch'); +const fetch = require('node-fetch').default; const bt = require('./bullet-train-core'); const bulletTrain = bt({fetch: fetch}); -module.exports = bulletTrain; \ No newline at end of file +module.exports = bulletTrain;