Fix problem when event has no max participants limit

Previous behaviour

Steps to reproduce:

  1. Create event without max participants
  2. Go to the event API detail page
  3. Error

New behaviour

Steps to validate that it works:

  1. Create event without max participants
  2. Go to the event API detail page
  3. No error

Merge request reports

Loading