fix: lint issues

This commit is contained in:
Fredrik Burmester
2025-03-30 10:21:41 +02:00
parent f6baf490fb
commit 16b834cf71
4 changed files with 31 additions and 29 deletions

View File

@@ -105,13 +105,13 @@ export async function cancelAllJobs({ authHeader, url, deviceId }: IJobInput) {
authHeader,
url,
}).then((jobs) => {
jobs.forEach((job) => {
for (const job of jobs) {
cancelJobById({
authHeader,
url,
id: job.id,
});
});
}
});
} catch (error) {
writeToLog("ERROR", "Failed to cancel all jobs", error);