From aab859307c1875dbf458dab6619c206886f81e39 Mon Sep 17 00:00:00 2001 From: Nouman Tahir Date: Thu, 8 Apr 2021 18:31:57 +0500 Subject: [PATCH] metadata parsing fix --- src/screens/editor/container/editorContainer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/editor/container/editorContainer.js b/src/screens/editor/container/editorContainer.js index c5cc018f0..a506b2221 100644 --- a/src/screens/editor/container/editorContainer.js +++ b/src/screens/editor/container/editorContainer.js @@ -799,7 +799,7 @@ class EditorContainer extends Component { let jsonMeta = {}; try { - const oldJson = JSON.parse(jsonMetadata); + const oldJson = jsonMetadata; //already parsed in postParser.js jsonMeta = makeJsonMetadataForUpdate(oldJson, meta, tags); } catch (e) { jsonMeta = makeJsonMetadata(meta, tags);