Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use allow_non_ref in JSON decoding of off-query (openfoodfacts#1…
…0587) We recently switched from JSON::PP to Cpanel::JSON::XS, and it looks like JSON::PP decode_json() was accepting to decode raw numbers, without having to specify allow_non_ref. We had an issue when trying to deploy to prod, because on count requests, the return value we get from off-query is a raw number, which could not get decoded:
- Loading branch information