[Update] Payload
This commit is contained in:
parent
fb8a8bd471
commit
92040d0b9f
|
@ -18,7 +18,7 @@ func GetWarehouse() Warehouse {
|
||||||
}
|
}
|
||||||
|
|
||||||
// UpdateIsClosedSupplier ...
|
// UpdateIsClosedSupplier ...
|
||||||
func (w Warehouse) UpdateIsClosedSupplier(p model.WarehouseNatsResponse) error {
|
func (w Warehouse) UpdateIsClosedSupplier(p model.UpdateSupplierIsClosedRequest) error {
|
||||||
msg, err := natsio.GetServer().Request(subject.Warehouse.UpdateIsClosedSupplier, toBytes(p))
|
msg, err := natsio.GetServer().Request(subject.Warehouse.UpdateIsClosedSupplier, toBytes(p))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue