From c007a41a06a6ca6497933bf11d3bc39f4737ade5 Mon Sep 17 00:00:00 2001 From: Sinh Date: Wed, 2 Nov 2022 09:38:52 +0700 Subject: [PATCH] fix subject update OR delivery --- client/warehouse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/warehouse.go b/client/warehouse.go index beb3a6f..fb391ca 100644 --- a/client/warehouse.go +++ b/client/warehouse.go @@ -167,7 +167,7 @@ func (w Warehouse) GetWarehouses(p model.GetWarehousesRequest) (*model.GetWareho // UpdateORDeliveryStatus ... func (w Warehouse) UpdateORDeliveryStatus(p model.WarehouseORUpdateDeliveryStatus) error { - msg, err := natsio.GetServer().Request(subject.Warehouse.GetWarehouses, toBytes(p)) + msg, err := natsio.GetServer().Request(subject.Warehouse.UpdateORDeliveryStatus, toBytes(p)) if err != nil { return err } -- 2.34.1