Skip to content

Commit

Permalink
[Network] Fix inbound message metrics label
Browse files Browse the repository at this point in the history
  • Loading branch information
peterargue committed Jan 3, 2023
1 parent 1925c90 commit a9e74af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/message_scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (m IncomingMessageScope) EventID() []byte {
}

func (m IncomingMessageScope) PayloadType() string {
return MessageType(m.msg.Payload)
return MessageType(m.decodedPayload)
}

// OutgoingMessageScope captures the context around an outgoing message that is about to be sent.
Expand Down

0 comments on commit a9e74af

Please sign in to comment.