Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmasi committed Jul 6, 2023
1 parent 30add7a commit 5acc9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usage/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func publishEvent(ctx context.Context, event *epb.KNEEvent) error {
return err
}
t := client.Topic(topicID)
res := t.Publish(ctx, &pubsub.Message{Data: []byte(msg)})
res := t.Publish(ctx, &pubsub.Message{Data: msg})
id, err := res.Get(ctx)
if err != nil {
return fmt.Errorf("failed to publish message: %w", err)
Expand Down

0 comments on commit 5acc9b5

Please sign in to comment.