From e0ac1dd8153a7371ad212b99c652d240ba393ccc Mon Sep 17 00:00:00 2001 From: Paul <46542757+ulpaulpa@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:38:59 +0200 Subject: [PATCH] add curly braces to make json example valid json. --- views/docs/editor.php | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/views/docs/editor.php b/views/docs/editor.php index 9cac51a..30606da 100644 --- a/views/docs/editor.php +++ b/views/docs/editor.php @@ -43,12 +43,21 @@ Authorization: Bearer XXXXXXXXXXX { "type": "h-entry", "properties": { - "name": ["Post Title"], + "name": [ + "Post Title" + ], "content": [ - "html": "<p>The HTML contents of your post from the editor</p>" + { + "html": "<p>The HTML contents of your post from the editor</p>" + } + ], + "mp-slug": [ + "slug" ], - "mp-slug": ["slug"], - "category": ["foo","bar"] + "category": [ + "foo", + "bar" + ] } }