Skip to content

Commit

Permalink
Merge pull request #24 from Mahad-10/fix-event-fields
Browse files Browse the repository at this point in the history
fix event subscription & publication fields
  • Loading branch information
Mahad-10 authored Jul 2, 2024
2 parents d209cfa + 699b4a9 commit 217ab5b
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 @@ -673,7 +673,7 @@ func Run(args []string) (string, error) {

arguments, kwargs := wampprotocli.UpdateArgsKwArgsIfEmpty(eventArgs, eventKwargs)

eventMessage := messages.NewEvent(*c.subscriptionID, *c.publishRequestID, eventDetails, arguments, kwargs)
eventMessage := messages.NewEvent(*c.eventSubscriptionID, *c.eventPublicationID, eventDetails, arguments, kwargs)

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

Expand Down

0 comments on commit 217ab5b

Please sign in to comment.