Apply suggestion to src/services/entity_normalizer/entity_normalizer.service.js

This commit is contained in:
HJ 2019-06-12 11:44:14 +00:00
parent fc12b63fcc
commit a7b0b07e6f

View file

@ -86,10 +86,6 @@ export const parseUser = (data) => {
output.description = data.source.note
output.default_scope = data.source.privacy
if (data.source.pleroma) {
if (data.source.pleroma.show_role) {
console.log(data.source)
console.log(data.pleroma)
}
output.no_rich_text = data.source.pleroma.no_rich_text
output.show_role = data.source.pleroma.show_role
}