Fix picture upload
What does this MR do?
This fixes two small bugs that I forgot in !674 (merged):
- returning the normalised basket after creating one or setting a picture
- correctly deleting the old pictures after setting new ones
How confident are you it won't break things if deployed?
Quite confident. The tests are working and these are minor fixes
Links to related issues
Checklist
-
added a test, or explain why one is not needed/possible... -
no unrelated changes -
asked someone for a code review -
joined #foodsharing-beta channel at https://slackin.yunity.org -
added an entry to CHANGELOG.md (description, merge request link, username(s))
Edited by Peter Tönnies