chore(server): fix a few more type errors

This commit is contained in:
Elian Doran
2025-09-14 10:58:11 +03:00
parent 6077da0df8
commit 970f4b028d
3 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ export function startElectron(callback: () => void): DeferredPromise<void> {
export async function importData(path: string) {
const buffer = await createImportZip(path);
const importService = (await import("@triliumnext/server/src/services/import/zip.js")).default;
const context = new TaskContext("no-progress-reporting", "import", false);
const context = new TaskContext("no-progress-reporting", "importNotes", null);
const becca = (await import("@triliumnext/server/src/becca/becca.js")).default;
const rootNote = becca.getRoot();