mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-22 20:51:12 +10:00
fix: add no-prisma-delete lint
This commit is contained in:
@ -84,7 +84,7 @@ export default defineEventHandler<{
|
||||
user: true,
|
||||
},
|
||||
}),
|
||||
prisma.invitation.delete({ where: { id: user.invitation } }),
|
||||
prisma.invitation.deleteMany({ where: { id: user.invitation } }),
|
||||
]);
|
||||
|
||||
await userStatsManager.addUser();
|
||||
|
||||
Reference in New Issue
Block a user