Merge branch 'selly-food' of github.com:Selly-Modules/natsio into develop
This commit is contained in:
commit
ddc0af6338
|
@ -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