Commit 9af3a949 by Евгений

Улучшение #19474

Синхронизация фраз
1 parent 230aee20
Showing with 3 additions and 3 deletions
......@@ -62,9 +62,9 @@ class AdGroupsLoadUpdated extends Command
$factory = APIRequest::getInstance(API::YANDEX);
$factory->setToken($token);
// $factory->getRequest('AdGroups', 'get')->call([
// 'Ids' => $ids,
// ]);
$factory->getRequest('AdGroups', 'get')->call([
'Ids' => $ids,
]);
foreach (array_chunk($ids, 1000) as $ids_limit) {
$factory = APIRequest::getInstance(API::YANDEX);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!