Apply suggestion to src/services/entity_normalizer/entity_normalizer.service.js
This commit is contained in:
parent
fc12b63fcc
commit
a7b0b07e6f
@ -86,10 +86,6 @@ export const parseUser = (data) => {
|
|||||||
output.description = data.source.note
|
output.description = data.source.note
|
||||||
output.default_scope = data.source.privacy
|
output.default_scope = data.source.privacy
|
||||||
if (data.source.pleroma) {
|
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.no_rich_text = data.source.pleroma.no_rich_text
|
||||||
output.show_role = data.source.pleroma.show_role
|
output.show_role = data.source.pleroma.show_role
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user