Withdrawing Basket causes Error
Summary
Steps to reproduce
Create Basket -> switch account -> request pickup -> withdraw pickup api URL: http://localhost:18080/api/baskets/.../withdraw
What is the current bug behavior?
Nothing except error
What is the expected correct behavior?
Withdraws it
Relevant error messages and/or screenshots
code 500 message "Cannot use object of type Foodsharing\Modules\Basket\DTO\Basket as array"
