mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
change in naming of SQL methods
added assert methods to note tree
This commit is contained in:
@@ -5,7 +5,7 @@ const log = require('./log');
|
||||
const messaging = require('./messaging');
|
||||
|
||||
async function runCheck(query, errorText, errorList) {
|
||||
const result = await sql.getFlattenedResults(query);
|
||||
const result = await sql.getFirstColumn(query);
|
||||
|
||||
if (result.length > 0) {
|
||||
const err = errorText + ": " + result;
|
||||
|
||||
Reference in New Issue
Block a user