mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-17 02:01:11 +10:00
fix: eslint errors, switch to using maps
This commit is contained in:
@ -4,7 +4,7 @@ export default defineTask({
|
||||
meta: {
|
||||
name: "cleanup:invitations",
|
||||
},
|
||||
async run({}) {
|
||||
async run() {
|
||||
const now = new Date();
|
||||
|
||||
await prisma.invitation.deleteMany({
|
||||
|
||||
@ -4,7 +4,7 @@ export default defineTask({
|
||||
meta: {
|
||||
name: "cleanup:invitations",
|
||||
},
|
||||
async run({}) {
|
||||
async run() {
|
||||
await sessionHandler.cleanupSessions();
|
||||
|
||||
return { result: true };
|
||||
|
||||
Reference in New Issue
Block a user