From aac422f8dbce1ba8156ad3f80fbf1877cfa846d1 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Tue, 12 Nov 2024 15:56:36 +0300 Subject: [PATCH] =?utf8?q?[ERP-148]=20=D0=B4=D0=BE=D1=80=D0=B0=D0=B1=D0=BE?= =?utf8?q?=D1=82=D0=BA=D0=B0=20=D1=8F=D0=BD=D0=B4=D0=B5=D0=BA=D1=81=20?= =?utf8?q?=D0=BC=D0=B0=D1=80=D0=BA=D0=B5=D1=82=D0=BF=D0=BB=D0=B5=D0=B9?= =?utf8?q?=D1=81=D0=B0=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/commands/MarketplaceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/commands/MarketplaceController.php b/erp24/commands/MarketplaceController.php index 0ed5d046..65475ee0 100644 --- a/erp24/commands/MarketplaceController.php +++ b/erp24/commands/MarketplaceController.php @@ -34,7 +34,7 @@ class MarketplaceController extends Controller ]; } - $campaignIds = ArrayHelper::map(MarketplaceStore::find()->where(['marketplace_id' => 2])->all(), 'warehouse_guid', 'guid'); + $campaignIds = ArrayHelper::map(MarketplaceStore::find()->where(['warehouse_id' => 2])->all(), 'warehouse_guid', 'guid'); foreach (array_keys($campaignIds) as $campaignId) { $apiInstance = new Api\HiddenOffersApi(new GuzzleHttp\Client(), $config); -- 2.39.5