Skip to content

Commit ee43565

Browse files
committed
fix: send nats msg correctly
1 parent ccd570d commit ee43565

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

transport/nats/nats.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,9 @@ func (n *ntportSocket) Send(m *transport.Message) error {
234234
}
235235

236236
msg := &nats.Msg{
237-
Reply: n.m.Reply,
238-
Header: header,
239-
Data: m.Body,
237+
Subject: n.m.Reply,
238+
Header: header,
239+
Data: m.Body,
240240
}
241241

242242
// no deadline

0 commit comments

Comments
 (0)