indent data notes

pull/255/head
zadam 2020-01-04 18:44:54 +07:00
parent d025cfee1b
commit 79e7762c72
1 changed files with 1 additions and 1 deletions

@ -204,7 +204,7 @@ function BackendScriptApi(currentNote, apiParams) {
this.createDataNote = async (parentNoteId, title, content = {}) => await noteService.createNewNote({
parentNoteId,
title,
content: JSON.stringify(content),
content: JSON.stringify(content, null, '\t'),
type: 'code',
mime: 'application/json'
});