Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
chore: rename operationRequest to operation
Browse files Browse the repository at this point in the history
Signed-off-by: Firas Qutishat <firas.qutishat@securekey.com>
  • Loading branch information
fqutishat committed Apr 11, 2022
1 parent be0a515 commit f76de6f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/doc/did/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,15 @@ type MethodMetadata struct {
// AnchorOrigin is anchor origin.
AnchorOrigin string `json:"anchorOrigin,omitempty"`
// UnpublishedOperations unpublished operations
UnpublishedOperations []*Operations `json:"unpublishedOperations,omitempty"`
UnpublishedOperations []*OperationsReq `json:"unpublishedOperations,omitempty"`
// PublishedOperations published operations
PublishedOperations []*Operations `json:"publishedOperations,omitempty"`
PublishedOperations []*OperationsReq `json:"publishedOperations,omitempty"`
}

// Operations info.
type Operations struct {
// OperationRequest is operation request.
OperationRequest string `json:"operationRequest,omitempty"`
// OperationsReq info.
type OperationsReq struct {
// Operation is operation request.
Operation string `json:"operation,omitempty"`
// ProtocolVersion is protocol version.
ProtocolVersion int `json:"protocolVersion,omitempty"`
// TransactionNumber is transaction number.
Expand Down

0 comments on commit f76de6f

Please sign in to comment.