ffffng/server/jobs/FixNodeFilenamesJob.ts

13 lines
341 B
TypeScript
Raw Normal View History

import {fixNodeFilenames} from "../services/nodeService";
import {jobResultOkay} from "./scheduler";
export default {
name: 'FixNodeFilenamesJob',
description: 'Makes sure node files (holding fastd key, name, etc.) are correctly named.',
async run() {
await fixNodeFilenames();
return jobResultOkay();
},
}