Skip to content

Only show active partners in API

Ghost User requested to merge fix/api-only-active-partners into master

Closes no issue

Previous behaviour

Steps to reproduce:

  1. Create an inactive partner.
  2. Go to /api/v1/partners/.
  3. Notice that the inactive partner is included in the list and that there is no way to tell that the partner is inactive.

New behaviour

Steps to validate that it works:

  1. Create an inactive partner.
  2. Go to /api/v1/partners/.
  3. Notice that the inactive partner is no longer included in the list.

Merge request reports

Loading