Skip to content

Commit

Permalink
Merge pull request #25 from Mahad-10/fix-cancel-message
Browse files Browse the repository at this point in the history
fix request ID in cancel message
  • Loading branch information
Mahad-10 authored Jul 2, 2024
2 parents 217ab5b + 69f4ca4 commit e307f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/wampproto/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ func Run(args []string) (string, error) {
case c.cancel.FullCommand():
var cancelOptions = wampprotocli.StringMapToTypedMap(*c.cancelOptions)

cancelMessage := messages.NewCancel(*c.sessionID, cancelOptions)
cancelMessage := messages.NewCancel(*c.cancelRequestID, cancelOptions)

return serializeMessageAndOutput(*c.serializer, cancelMessage, *c.output)

Expand Down

0 comments on commit e307f00

Please sign in to comment.