Feature/pt fix usage of model in api
What does this MR do?
fixes bugs I have introduced before. Model was still needed in API.
How confident are you it won't break things if deployed?
Should unbreak things. Not in active use whatsoever.
- added a test, or explain why one is not needed/possible... (no new functionality)
- 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))