fix: also change main key name for actor

This commit is contained in:
əlemi 2024-04-23 05:07:04 +02:00
parent 4f8132a642
commit e316e1a840
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -31,7 +31,7 @@ pub async fn view(
.set_preferred_username(Some(ctx.domain()))
.set_public_key(apb::Node::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_public_key_pem(&ctx.app().public_key)
))