Skip to content

Commit

Permalink
make Controller in CommonVerificationMethod optional (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk authored Jul 9, 2024
1 parent 684a4b6 commit 3f20049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verifiable/did_doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type DeviceMetadata struct {
type CommonVerificationMethod struct {
ID string `json:"id"`
Type string `json:"type"`
Controller string `json:"controller"`
Controller string `json:"controller,omitempty"`
PublicKeyJwk map[string]interface{} `json:"publicKeyJwk,omitempty"`
PublicKeyMultibase string `json:"publicKeyMultibase,omitempty"`
PublicKeyHex string `json:"publicKeyHex,omitempty"`
Expand Down

0 comments on commit 3f20049

Please sign in to comment.