Skip to content

Build your personal knowledge base with Trilium Notes

server: Fix missing .js import for request_interface

Elian Doran3595ace24993
diff --git a/src/services/request.ts b/src/services/request.ts
index 40ea5b2789..d7be952337 100644
--- a/src/services/request.ts
+++ b/src/services/request.ts
@@ -4,7 +4,7 @@ import utils from "./utils.js";
import log from "./log.js";
import url from "url";
import syncOptions from "./sync_options.js";
-import { ExecOpts } from './request_interface';
+import { ExecOpts } from './request_interface.js';
// this service provides abstraction over node's HTTP/HTTPS and electron net.client APIs
// this allows supporting system proxy
diff --git a/src/services/sync.ts b/src/services/sync.ts
index b17eaba0c9..5864edb069 100644
--- a/src/services/sync.ts
+++ b/src/services/sync.ts
@@ -18,7 +18,7 @@ import entityChangesService from "./entity_changes.js";
import entityConstructor from "../becca/entity_constructor.js";
import becca from "../becca/becca.js";
import { EntityChange, EntityChangeRecord, EntityRow } from './entity_changes_interface.js';
-import { CookieJar, ExecOpts } from './request_interface';
+import { CookieJar, ExecOpts } from './request_interface.js';
import setupService from "./setup.js";
import consistency_checks from "./consistency_checks.js";
import becca_loader from "../becca/becca_loader.js";