refacator: fix typw

This commit is contained in:
syuilo
2022-02-19 14:53:33 +09:00
parent 1dc06f7ad3
commit b6db709e02
7 changed files with 7 additions and 8 deletions

View File

@@ -62,7 +62,7 @@ export async function exportNotes(job: Bull.Job<DbUserJobData>, done: any): Prom
order: {
id: 1,
},
});
}) as Note[];
if (notes.length === 0) {
job.progress(100);