test for nuc

This commit is contained in:
2024-02-10 13:49:36 +01:00
parent bc7f73c3a0
commit e91f39c9e5
4 changed files with 27 additions and 26 deletions

View File

@@ -49,7 +49,7 @@ class ProductsCompareController extends Controller
if ($online == true) {
Log::info("ONLINE {codes} {countries}", ["codes" => $codes, "countries" => $countries, "online" => $online]);
$products = $this->countryCompareController->compare($countries, $cHash, $aCodes);
$products = $this->countryCompareController->compare($countries, $cHash, $codes);
} else {
$products = IkeaProducts::whereIn("code", $aCodes);
if (count($countries)) $products->whereIn("country", $countries);