change subject cancel delivery
This commit is contained in:
parent
e860b97c5b
commit
924935fdf3
|
@ -37,7 +37,7 @@ func (o Order) UpdateORStatus(p model.OrderUpdateORStatus) error {
|
||||||
|
|
||||||
// CancelDelivery ...
|
// CancelDelivery ...
|
||||||
func (o Order) CancelDelivery(p model.OrderCancelDelivery) error {
|
func (o Order) CancelDelivery(p model.OrderCancelDelivery) error {
|
||||||
msg, err := natsio.GetServer().Request(subject.OrderUpdateORStatus, toBytes(p))
|
msg, err := natsio.GetServer().Request(subject.OrderCancelDelivery, toBytes(p))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue