use keyid builder
This commit is contained in:
parent
d8911be6ea
commit
532787a77b
|
@ -293,7 +293,7 @@ export const userToPerson = (user: User) => {
|
||||||
inbox: fillRoute("inbox", user.nickname),
|
inbox: fillRoute("inbox", user.nickname),
|
||||||
outbox: fillRoute("outbox", user.nickname),
|
outbox: fillRoute("outbox", user.nickname),
|
||||||
publicKey: {
|
publicKey: {
|
||||||
id: id + "#main-key",
|
id: keyIdFromNickname(user.nickname),
|
||||||
owner: id,
|
owner: id,
|
||||||
publicKeyPem: user.public_key
|
publicKeyPem: user.public_key
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue