mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-11 04:52:06 +10:00
13 lines
232 B
TypeScript
13 lines
232 B
TypeScript
import sessionHandler from "~/server/internal/session";
|
|
|
|
export default defineTask({
|
|
meta: {
|
|
name: "cleanup:invitations",
|
|
},
|
|
async run() {
|
|
await sessionHandler.cleanupSessions();
|
|
|
|
return { result: true };
|
|
},
|
|
});
|