small fixes

This commit is contained in:
Isaac (eartharoid)
2020-09-06 21:45:02 +01:00
parent 2f18ad19dd
commit e117e38bac
3 changed files with 4 additions and 2 deletions

View File

@@ -149,6 +149,8 @@ module.exports.export = (Ticket, channel) => new Promise((resolve, reject) => {
fs.unlinkSync(json);
resolve(res.url);
}).catch(e => {
return resolve(e);
});
});