indent data notes

This commit is contained in:
zadam 2020-01-04 18:44:54 +01:00
parent d025cfee1b
commit 79e7762c72

View file

@ -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'
});