add known field
This commit is contained in:
parent
cce2e85648
commit
6abe95cb24
1 changed files with 1 additions and 0 deletions
1
actor.go
1
actor.go
|
@ -286,6 +286,7 @@ func (a *Actor) whoAmI() string {
|
||||||
"publicKeyPem": a.publicKeyPem,
|
"publicKeyPem": a.publicKeyPem,
|
||||||
}
|
}
|
||||||
self["gateways"] = a.gateways
|
self["gateways"] = a.gateways
|
||||||
|
self["sameAs"] = []string{"ap://did:key:" + encoded + "/actor"}
|
||||||
selfString, _ := json.Marshal(self)
|
selfString, _ := json.Marshal(self)
|
||||||
return string(selfString)
|
return string(selfString)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue