mirror of
https://github.com/zadam/trilium.git
synced 2025-01-19 13:37:58 +08:00
fix typo in the log, closes #2513
This commit is contained in:
parent
dfa7c64b1f
commit
7a650c605c
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ const becca = require("../becca/becca");
|
||||||
|
|
||||||
function executeNote(note, apiParams) {
|
function executeNote(note, apiParams) {
|
||||||
if (!note.isJavaScript() || note.getScriptEnv() !== 'backend' || !note.isContentAvailable()) {
|
if (!note.isJavaScript() || note.getScriptEnv() !== 'backend' || !note.isContentAvailable()) {
|
||||||
log.info(`Cannot execute note ${note.noteId} "${note.title}", note must be of type "Code: JS frontend"`);
|
log.info(`Cannot execute note ${note.noteId} "${note.title}", note must be of type "Code: JS backend"`);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue