From 08d87d6a78913f45d481ba53df0082c4b7e7c76f Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Wed, 13 Nov 2024 13:12:58 +0300 Subject: [PATCH] =?utf8?q?[ERP-148]=20=D0=BA=D1=80=D0=B0=D1=81=D0=B8=D0=B2?= =?utf8?q?=D0=B0=D1=8F=20=D1=83=D1=80=D0=BB=20=D0=B4=D0=BB=D1=8F=20=D0=BA?= =?utf8?q?=D0=B0=D1=80=D1=82=D0=B8=D0=BD=D0=BA=D0=B8=206?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/api2/controllers/YandexMarketController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/api2/controllers/YandexMarketController.php b/erp24/api2/controllers/YandexMarketController.php index 62bd6dbe..c5412499 100644 --- a/erp24/api2/controllers/YandexMarketController.php +++ b/erp24/api2/controllers/YandexMarketController.php @@ -18,7 +18,7 @@ use yii_app\records\ProductsClass; class YandexMarketController extends Controller { public function actionCreateCards() { - Yii::$app->response->format = \yii\web\Response::FORMAT_JSON; + Yii::$app->response->format = \yii\web\Response::FORMAT_RAW; //http://localhost:5555/yandex-market/test $config = Configuration::getDefaultConfiguration()->setApiKey('Api-Key', 'ACMA:r3sa2VyjkgcO0aOxGoyAWuGH15g5mWAqXRMuylVA:a0bccb7e'); -- 2.39.5