forked from alemi/upub
fix: also change main key name for actor
This commit is contained in:
parent
4f8132a642
commit
e316e1a840
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ pub async fn view(
|
||||||
.set_preferred_username(Some(ctx.domain()))
|
.set_preferred_username(Some(ctx.domain()))
|
||||||
.set_public_key(apb::Node::object(
|
.set_public_key(apb::Node::object(
|
||||||
serde_json::Value::new_object()
|
serde_json::Value::new_object()
|
||||||
.set_id(Some(&url!(ctx, "#main-key")))
|
.set_id(Some(&url!(ctx, "/#main-key")))
|
||||||
.set_owner(Some(&url!(ctx, "")))
|
.set_owner(Some(&url!(ctx, "")))
|
||||||
.set_public_key_pem(&ctx.app().public_key)
|
.set_public_key_pem(&ctx.app().public_key)
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in a new issue