mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
split out dateUtils on the backend
This commit is contained in:
@@ -4,12 +4,9 @@ const sql = require('./sql');
|
||||
const log = require('./log');
|
||||
const messagingService = require('./messaging');
|
||||
const syncMutexService = require('./sync_mutex');
|
||||
const utils = require('./utils');
|
||||
const cls = require('./cls');
|
||||
|
||||
async function runCheck(query, errorText, errorList) {
|
||||
utils.assertArguments(query, errorText, errorList);
|
||||
|
||||
const result = await sql.getColumn(query);
|
||||
|
||||
if (result.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user