mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-11 16:58:25 +03:00
Fix job types
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user