Closed lmignon closed 11 months ago
/ocabot merge patch
On my way to merge this fine PR! Prepared branch 16.0-ocabot-merge-pr-1488-by-lmignon-bump-patch, awaiting test results.
It looks like something changed on 16.0
in the meantime.
Let me try again (no action is required from you).
Prepared branch 16.0-ocabot-merge-pr-1488-by-lmignon-bump-patch, awaiting test results.
Congratulations, your PR was merged at f091096d503103a41d9fbd5ef0dab7d6f6de306f. Thanks a lot for contributing to shopinvader. ❤️
This is required to avoid to try to convert a null body value into json on client side. If we return nothing, we must explicitly set the right response code
This change is required for and works with https://github.com/shopinvader/shopinvader-js-cart/pull/11
It will avoid to get the cart set into the 'sync error' status if the call the the 'sync' endpoint return an empty response.