Set current_quantity to zero when there is no package.

This commit is contained in:
Krzysztof Płaczek
2024-12-16 09:11:10 +01:00
parent a98934dfad
commit 61b1cbadbb

View File

@@ -38,7 +38,7 @@ readonly class FoodsiService
return $data['data'][0]['attributes']; return $data['data'][0]['attributes'];
} }
return []; return ['current_quantity' => 0];
} }
private function login(): void private function login(): void