Closed stephanegigandet closed 1 day ago
I'm hoping this PR will fix https://github.com/openfoodfacts/smooth-app/issues/5864
If we receive product_type=null, we just ignore it.
Also refactored the code to remove some duplication.
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 0.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarQube Cloud
I'm hoping this PR will fix https://github.com/openfoodfacts/smooth-app/issues/5864
If we receive product_type=null, we just ignore it.
Also refactored the code to remove some duplication.