fix: add endpoints and preferred username to app
This commit is contained in:
parent
e8dd15f8bd
commit
d575ef0bef
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ pub async fn view(
|
|||
.set_inbox(apb::Node::link(url!(ctx, "/inbox")))
|
||||
.set_outbox(apb::Node::link(url!(ctx, "/outbox")))
|
||||
.set_published(Some(ctx.app().created))
|
||||
.set_endpoints(apb::Node::Empty)
|
||||
.set_preferred_username(Some(ctx.domain()))
|
||||
.set_public_key(apb::Node::object(
|
||||
serde_json::Value::new_object()
|
||||
.set_id(Some(&url!(ctx, "#main-key")))
|
||||
|
|
Loading…
Reference in a new issue