X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e790c22cd65730997c41872e51c8ac19ab7c6ad9..de17d33a5bde24a0d553a34b8a1406de28fcd9d9:/SL/ShopConnector/Shopware6.pm diff --git a/SL/ShopConnector/Shopware6.pm b/SL/ShopConnector/Shopware6.pm index a95107de7..9944b33d9 100644 --- a/SL/ShopConnector/Shopware6.pm +++ b/SL/ShopConnector/Shopware6.pm @@ -265,7 +265,7 @@ sub sync_all_categories { my ($product_id, $category_tree); try { $product_id = from_json($ret->responseContent())->{data}->[0]->{id}; - $category_tree = from_json($ret->responseContent())->{data}->[0]->{categoryTree}; + $category_tree = from_json($ret->responseContent())->{data}->[0]->{categoryIds}; } catch { die "Malformed JSON Data: $_ " . $ret->responseContent(); }; my $cat; # if the part is connected to a category at all