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

Add Server-side photo unselection #306

Closed
Tracked by #218 ...
teolemon opened this issue Nov 29, 2021 · 3 comments · Fixed by #319
Closed
Tracked by #218 ...

Add Server-side photo unselection #306

teolemon opened this issue Nov 29, 2021 · 3 comments · Fixed by #319

Comments

@teolemon
Copy link
Member

teolemon commented Nov 29, 2021

What

Add Server-side photo unselection
https://openfoodfacts.github.io/api-documentation/#jump-4WRITERequests-Deselectingaphoto

Part of

@teolemon teolemon changed the title Server-side photo unselection https://openfoodfacts.github.io/api-documentation/#jump-4WRITERequests-Deselectingaphoto Add Server-side photo unselection Nov 29, 2021
@monsieurtanuki
Copy link
Contributor

@teolemon Not very verbose, is it?
Capture d’écran 2021-12-04 à 15 32 21

@teolemon
Copy link
Member Author

teolemon commented Dec 4, 2021

thanks @monsieurtanuki , filed a documentation task at openfoodfacts/api-documentation#49 with the proper route

@monsieurtanuki monsieurtanuki self-assigned this Dec 14, 2021
monsieurtanuki added a commit to monsieurtanuki/openfoodfacts-dart that referenced this issue Dec 14, 2021
Impacted files:
* `api_addProductImage_test.dart`: new test about "unselect product image"
* `openfoodfacts.dart`: new method `unselectProductImage`
* `ProductImage.dart`: minor unrelated refactoring
monsieurtanuki added a commit to monsieurtanuki/openfoodfacts-dart that referenced this issue Dec 14, 2021
Impacted files:
* `api_addProductImage_test.dart`: added `User user` parameters when needed
* `openfoodfacts.dart`: added `User user` parameter to WRITE methods; added ending commas
@monsieurtanuki monsieurtanuki linked a pull request Dec 14, 2021 that will close this issue
monsieurtanuki added a commit that referenced this issue Dec 15, 2021
…methods (#319)

Impacted files:
* `api_addProductImage_test.dart`: new test about "unselect product image"; refactored - added `User user` parameters when needed
* `openfoodfacts.dart`: new method `unselectProductImage`, added `User user` parameter to WRITE methods, added ending commas
* `ProductImage.dart`: minor unrelated refactoring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants