fix: resolve all 6 prefer-const eslint errors for CI
This commit is contained in:
@@ -19,7 +19,7 @@ toolRegistry.register({
|
||||
}),
|
||||
execute: async ({ notebookId, noteIds, locale }) => {
|
||||
try {
|
||||
let where: any = { userId: ctx.userId, trashedAt: null }
|
||||
const where: any = { userId: ctx.userId, trashedAt: null }
|
||||
if (noteIds && noteIds.length > 0) {
|
||||
where.id = { in: noteIds }
|
||||
} else if (notebookId) {
|
||||
|
||||
Reference in New Issue
Block a user