mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 07:45:51 +01:00
refactored backend to use new naming convention for modules
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
const sql = require('./sql');
|
||||
const sync_table = require('../services/sync_table');
|
||||
const syncTableService = require('../services/sync_table');
|
||||
|
||||
let entityConstructor;
|
||||
|
||||
@@ -55,7 +55,7 @@ async function updateEntity(entity) {
|
||||
|
||||
const primaryKey = entity[entity.constructor.primaryKeyName];
|
||||
|
||||
await sync_table.addEntitySync(entity.constructor.tableName, primaryKey);
|
||||
await syncTableService.addEntitySync(entity.constructor.tableName, primaryKey);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user