Skip to content

Commit 5534692

Browse files
authored
casting store id to int for cateogry sync (#476)
Co-authored-by: Avinash Singhal <[email protected]>
1 parent cc3f0b1 commit 5534692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Meta/Catalog/Model/Feed/CategoryCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ private function pushCategoriesToFBCollections($categories, $accessToken, $store
459459
$category->getName(),
460460
$storeId
461461
));
462-
$requests[] = $this->pushCategoryWithFBRequestJson($category, $products, $catalogId, $storeId);
462+
$requests[] = $this->pushCategoryWithFBRequestJson($category, $products, $catalogId, (int)$storeId);
463463
}
464464
$updatedCategories[] = $category;
465465
if (count($requests) === self::BATCH_MAX) {

0 commit comments

Comments
 (0)