fix missing config from commons.js

This commit is contained in:
teddit 2020-12-13 16:29:27 +01:00
parent a07a48df39
commit 21fb4647ab

View File

@ -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) => {