From 79e7762c723215b3f5b69b44dfc1f71409e47729 Mon Sep 17 00:00:00 2001 From: zadam Date: Sat, 4 Jan 2020 18:44:54 +0100 Subject: [PATCH] indent data notes --- src/services/backend_script_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/backend_script_api.js b/src/services/backend_script_api.js index de0b29212..b5f9e72f1 100644 --- a/src/services/backend_script_api.js +++ b/src/services/backend_script_api.js @@ -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' });