Selly food #29
|
@ -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