mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 08:16:40 +01:00
removed link remnants
This commit is contained in:
@@ -38,7 +38,7 @@ const repository = require('./repository');
|
||||
const axios = require('axios');
|
||||
const dayjs = require('dayjs');
|
||||
const cloningService = require('./cloning');
|
||||
const messagingService = require('./messaging');
|
||||
const ws = require('./ws.js');
|
||||
const appInfo = require('./app_info');
|
||||
const searchService = require('./search');
|
||||
|
||||
@@ -239,7 +239,7 @@ function BackendScriptApi(currentNote, apiParams) {
|
||||
this.createNoteAndRefresh = async function(parentNoteId, title, content, extraOptions) {
|
||||
await noteService.createNote(parentNoteId, title, content, extraOptions);
|
||||
|
||||
messagingService.refreshTree();
|
||||
ws.refreshTree();
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -335,7 +335,7 @@ function BackendScriptApi(currentNote, apiParams) {
|
||||
*
|
||||
* @returns {Promise<void>}
|
||||
*/
|
||||
this.refreshTree = messagingService.refreshTree;
|
||||
this.refreshTree = ws.refreshTree;
|
||||
|
||||
/**
|
||||
* @return {{syncVersion, appVersion, buildRevision, dbVersion, dataDirectory, buildDate}|*} - object representing basic info about running Trilium version
|
||||
|
||||
Reference in New Issue
Block a user