fix: eslint errors, switch to using maps

This commit is contained in:
Huskydog9988
2025-04-15 20:04:45 -04:00
parent 3961323cca
commit 0eb29650ca
21 changed files with 158 additions and 159 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ export default defineTask({
meta: {
name: "cleanup:invitations",
},
async run({}) {
async run() {
const now = new Date();
await prisma.invitation.deleteMany({
+1 -1
View File
@@ -4,7 +4,7 @@ export default defineTask({
meta: {
name: "cleanup:invitations",
},
async run({}) {
async run() {
await sessionHandler.cleanupSessions();
return { result: true };