Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(API): on create/update, only send needed fields (price, proof) #668

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Jun 27, 2024

What

Linked with a backend change : openfoodfacts/open-prices#342

On price create, we were sending extra (non-model) fields such as category & product.
Do some pre-cleaning to avoid it, as it now returns an error

@raphodn raphodn merged commit d189704 into master Jun 27, 2024
4 checks passed
@raphodn raphodn deleted the raphodn/api-price-proof-create-update-filter-body branch June 27, 2024 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant