Skip to content

Commit

Permalink
fix code check (#1711)
Browse files Browse the repository at this point in the history
(cherry picked from commit 4ac7a7b)
  • Loading branch information
shibd committed Jan 16, 2025
1 parent 2e9bf34 commit cf8f9c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ctl/subscription/get_message_by_id.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (

type readMessage struct {
Properties map[string]string `json:"properties"`
MessageId utils.MessageID `json:"messageId"`
MessageID utils.MessageID `json:"messageId"`
Payload []byte `json:"payload"`
PayloadAsString string `json:"PayloadString"`
}
Expand Down Expand Up @@ -106,7 +106,7 @@ func doGetMessageByID(vc *cmdutils.VerbCmd, ledgerID int64, entryID int64) error

oc := cmdutils.NewOutputContent().
WithObject(&readMessage{
MessageId: message.GetMessageID(),
MessageID: message.GetMessageID(),
Properties: message.GetProperties(),
Payload: message.Payload,
PayloadAsString: string(message.Payload),
Expand Down

0 comments on commit cf8f9c2

Please sign in to comment.