From 21fb4647abee3d4116e76c1ab01d4867246b2bd6 Mon Sep 17 00:00:00 2001 From: teddit Date: Sun, 13 Dec 2020 16:29:27 +0100 Subject: [PATCH] fix missing config from commons.js --- inc/commons.js | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/commons.js b/inc/commons.js index 7889308..c04c178 100644 --- a/inc/commons.js +++ b/inc/commons.js @@ -1,4 +1,5 @@ module.exports = function(request, fs) { + const config = require('../config') this.downloadFile = (url) => { return new Promise(resolve => { request(url, { encoding: 'binary' }, (error, response, body) => {