mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-17 11:16:26 -07:00
Corrected log position
This commit is contained in:
parent
c21e9594a5
commit
d6b7e51389
2 changed files with 3 additions and 4 deletions
|
|
@ -136,10 +136,9 @@ var getId = function (args, arr, arrHost, headers, fileName, refreshType) { retu
|
||||||
})];
|
})];
|
||||||
case 4:
|
case 4:
|
||||||
id = _d.apply(_c, [(_j.sent())]);
|
id = _d.apply(_c, [(_j.sent())]);
|
||||||
_j.label = 5;
|
|
||||||
case 5:
|
|
||||||
args.jobLog("".concat(refreshType.content, " ").concat(id !== -1 ? "".concat(id, " found") : 'not found', " for '").concat((0, fileUtils_1.getFileName)(fileName), "'"));
|
args.jobLog("".concat(refreshType.content, " ").concat(id !== -1 ? "".concat(id, " found") : 'not found', " for '").concat((0, fileUtils_1.getFileName)(fileName), "'"));
|
||||||
return [2 /*return*/, id];
|
_j.label = 5;
|
||||||
|
case 5: return [2 /*return*/, id];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}); };
|
}); };
|
||||||
|
|
|
||||||
|
|
@ -115,8 +115,8 @@ const getId = async (
|
||||||
headers,
|
headers,
|
||||||
})),
|
})),
|
||||||
);
|
);
|
||||||
|
args.jobLog(`${refreshType.content} ${id !== -1 ? `${id} found` : 'not found'} for '${getFileName(fileName)}'`);
|
||||||
}
|
}
|
||||||
args.jobLog(`${refreshType.content} ${id !== -1 ? `${id} found` : 'not found'} for '${getFileName(fileName)}'`);
|
|
||||||
return id;
|
return id;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue