fix typo in the log, closes #2513

This commit is contained in:
zadam 2022-01-05 19:48:18 +01:00
parent dfa7c64b1f
commit 7a650c605c

View file

@ -5,7 +5,7 @@ const becca = require("../becca/becca");
function executeNote(note, apiParams) {
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;
}