debug bank.js NitradoAPI.js and change ReadLogs callback

This commit is contained in:
SowinskiBraeden committed 2023-04-15 12:20:35 -07:00
1 parent d958793a00
commit aa0f08ce0e
5 files changed
+15 -18

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ module.exports = {
).then(res => res);
const stream = fs.createWriteStream(outputDir);
if (!res.data.token) {
if (!res.data || !res.data.token) {
client.error(`Error downloading File "${filename}":`);
client.error(res);
return;