fix backend API's createNote(), closes #1275

pull/255/head
zadam 2020-09-30 22:45:15 +07:00
parent cba9b92202
commit dd020baee5
1 changed files with 1 additions and 1 deletions

@ -276,7 +276,7 @@ function BackendScriptApi(currentNote, apiParams) {
extraOptions.content = content;
}
sql.transactional(() => {
return sql.transactional(() => {
const {note, branch} = noteService.createNewNote(extraOptions);
for (const attr of extraOptions.attributes || []) {