fix: resolve all 6 prefer-const eslint errors for CI
This commit is contained in:
@@ -1236,7 +1236,7 @@ export async function cleanupAllOrphans() {
|
||||
const userId = session.user.id;
|
||||
let createdCount = 0;
|
||||
let deletedCount = 0;
|
||||
let errors: any[] = [];
|
||||
const errors: any[] = [];
|
||||
try {
|
||||
const allNotes = await prisma.note.findMany({
|
||||
where: { userId },
|
||||
|
||||
Reference in New Issue
Block a user