mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 04:41:43 +03:00
metadata parsing fix
This commit is contained in:
parent
b3161d8b76
commit
aab859307c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user