import fixes

This commit is contained in:
zadam
2020-07-27 23:40:14 +02:00
parent c92526372c
commit c9cbc2db02
4 changed files with 8 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ const zipImportService = require('../../services/import/zip');
const singleImportService = require('../../services/import/single');
const cls = require('../../services/cls');
const path = require('path');
const noteCacheService = require('../../services/note_cache/note_cache.js');
const noteCacheLoader = require('../../services/note_cache/note_cache_loader.js');
const log = require('../../services/log');
const TaskContext = require('../../services/task_context.js');
@@ -77,7 +77,7 @@ async function importToBranch(req) {
// import has deactivated note events so note cache is not updated
// instead we force it to reload (can be async)
noteCacheService.load();
noteCacheLoader.load();
return note;
}