Make pubKey IRI #main-key instead of /#main-key
This commit is contained in:
parent
5139b3dc19
commit
7931e210e5
|
@ -67,7 +67,7 @@ func Person(ctx *context.APIContext) {
|
||||||
publicKeyType := streams.NewW3IDSecurityV1PublicKey()
|
publicKeyType := streams.NewW3IDSecurityV1PublicKey()
|
||||||
|
|
||||||
pubKeyIDProp := streams.NewJSONLDIdProperty()
|
pubKeyIDProp := streams.NewJSONLDIdProperty()
|
||||||
pubKeyIRI, _ := url.Parse(link + "/#main-key")
|
pubKeyIRI, _ := url.Parse(link + "#main-key")
|
||||||
pubKeyIDProp.SetIRI(pubKeyIRI)
|
pubKeyIDProp.SetIRI(pubKeyIRI)
|
||||||
publicKeyType.SetJSONLDId(pubKeyIDProp)
|
publicKeyType.SetJSONLDId(pubKeyIDProp)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue