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 = {};
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);