Skip to content

Use get for dict access in order serializer

Closes no issue

Previous behaviour

Steps to reproduce:

  1. Create an order through /api/v1/pizzas/orders without specifying name or member
  2. Crash

New behaviour

Steps to validate that it works:

  1. Create an order through /api/v1/pizzas/orders without specifying name or member
  2. It works

Merge request reports

Loading