Update attachment normalizer

This commit is contained in:
taehoon 2019-03-25 12:19:33 -04:00
parent 6fdbc182ca
commit 932652e335
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ export const parseAttachment = (data) => {
// Not exactly same... // Not exactly same...
output.mimetype = data.pleroma ? data.pleroma.mime_type : data.type output.mimetype = data.pleroma ? data.pleroma.mime_type : data.type
output.meta = data.meta // not present in BE yet output.meta = data.meta // not present in BE yet
output.id = data.id
} else { } else {
output.mimetype = data.mimetype output.mimetype = data.mimetype
// output.meta = ??? missing // output.meta = ??? missing