Fix pizza API code for ordering

Luko van der Maas
2019-04-12T18:40:46+02:00

/label ~bug

Fixed for pizza api. Ordering a pizza on the api will work now.

#### Previous behaviour
Steps to reproduce:

1. Order a pizza
2. Crash

#### New behaviour
Steps to validate that it works:

1. Order a pizza
2. ...