Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(core): address requested changes
Elian Doran9595f52a9ca3
diff --git a/apps/client/src/services/froca.ts b/apps/client/src/services/froca.tsindex f11ebf9e21..d4c423b429 100644--- a/apps/client/src/services/froca.ts+++ b/apps/client/src/services/froca.ts@@ -337,7 +337,7 @@ class FrocaImpl implements Froca {attachmentRows = await server.getWithSilentNotFound<FAttachmentRow[]>(`attachments/${attachmentId}/all`);} catch (e: any) {if (silentNotFoundError) {- logInfo(`Attachment '${attachmentId}' not found, but silentNotFoundError is enabled: ${ e.message}`);+ logInfo(`Attachment '${attachmentId}' not found, but silentNotFoundError is enabled: ${e.message}`);return null;}throw e;diff --git a/packages/trilium-core/src/routes/api/setup.ts b/packages/trilium-core/src/routes/api/setup.tsindex eaa3c94ba3..64f440e5e8 100644--- a/packages/trilium-core/src/routes/api/setup.ts+++ b/packages/trilium-core/src/routes/api/setup.ts@@ -43,7 +43,7 @@ function saveSyncSeed(req: Request) {log.info("Saved sync seed.");- // sqlInit.createDatabaseForSync(options);+ sqlInit.createDatabaseForSync(options);}/**diff --git a/packages/trilium-core/src/services/sql_init.ts b/packages/trilium-core/src/services/sql_init.tsindex 4c32a1e468..b5d8a88fda 100644--- a/packages/trilium-core/src/services/sql_init.ts+++ b/packages/trilium-core/src/services/sql_init.ts@@ -1,8 +1,6 @@import { deferred, OptionRow } from "@triliumnext/commons";import { getSql } from "./sql";import { getLog } from "./log";-import { isElectron } from "./utils";-import { t } from "i18next";import optionService from "./options";import eventService from "./events";import { getContext } from "./context";