Fix job types

This commit is contained in:
zkldi
2021-11-10 00:27:33 +00:00
parent 70939baeff
commit a766a9f2f7
@@ -7,7 +7,7 @@ import { UGSSnapshot } from "../ugs-snapshot";
interface Job {
name: string;
cronFormat: string;
run: (job: Queue.Job) => Promise<void>;
run: () => Promise<void>;
}
const jobs: Job[] = [
@@ -61,7 +61,7 @@ export function InitialiseJobRunner() {
return false;
}
await jobInfo.run(j);
await jobInfo.run();
return true;
});