change subject cancel delivery

This commit is contained in:
Sinh 2022-08-26 11:25:09 +07:00
parent e860b97c5b
commit 924935fdf3
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ func (o Order) UpdateORStatus(p model.OrderUpdateORStatus) error {
// CancelDelivery ...
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 {
return err
}