forked from alemi/upub
fix: oops i mixed up some fields
This commit is contained in:
parent
a735e16f73
commit
b11da7f3c0
1 changed files with 3 additions and 3 deletions
|
@ -46,10 +46,10 @@ impl Model {
|
|||
actor_type: object.actor_type().ok_or(super::FieldError("type"))?,
|
||||
name: object.name().map(|x| x.to_string()),
|
||||
summary: object.summary().map(|x| x.to_string()),
|
||||
icon: object.icon().id(),
|
||||
icon: object.icon().get().map(|x| x.url().id().unwrap_or_default()),
|
||||
image: object.image().get().map(|x| x.url().id().unwrap_or_default()),
|
||||
inbox: object.inbox().get().map(|x| x.url().id().unwrap_or_default()),
|
||||
outbox: object.inbox().id(),
|
||||
inbox: object.inbox().id(),
|
||||
outbox: object.outbox().id(),
|
||||
shared_inbox: None, // TODO!!! parse endpoints
|
||||
followers: object.followers().id(),
|
||||
following: object.following().id(),
|
||||
|
|
Loading…
Reference in a new issue