* chore: install and configure oxlint
* chore: fix liniting issues
* chore: install and configure oxfmt
* ci: add oxlint action instead of biome
* chore: pr feedbacks
* Revert "chore: pr feedbacks"
This reverts commit 525dcd8d9f.
10 lines
263 B
TypeScript
10 lines
263 B
TypeScript
import { Job } from "../core/scheduler";
|
|
import { authService } from "../modules/auth/auth.service";
|
|
|
|
export class CleanupSessionsJob extends Job {
|
|
async run() {
|
|
await authService.cleanupExpiredSessions();
|
|
|
|
return { done: true, timestamp: new Date() };
|
|
}
|
|
}
|