metadata parsing fix

This commit is contained in:
Nouman Tahir 2021-04-08 18:31:57 +05:00
parent b3161d8b76
commit aab859307c

View File

@ -799,7 +799,7 @@ class EditorContainer extends Component {
let jsonMeta = {}; let jsonMeta = {};
try { try {
const oldJson = JSON.parse(jsonMetadata); const oldJson = jsonMetadata; //already parsed in postParser.js
jsonMeta = makeJsonMetadataForUpdate(oldJson, meta, tags); jsonMeta = makeJsonMetadataForUpdate(oldJson, meta, tags);
} catch (e) { } catch (e) {
jsonMeta = makeJsonMetadata(meta, tags); jsonMeta = makeJsonMetadata(meta, tags);