Policies and roles list should return empty array if list is empty #217
Labels
bug
Something is not working.
good first issue
A good issue to tackle when being a novice to the project.
help wanted
We are looking for help on this one.
Milestone
Describe the bug
Policies and roles list are returning
null
instead of empty list if all elements are filtered out.This breaks api contract and generates an error in php client (for example)
Reproducing the bug
Steps to reproduce the behavior:
/engines/acp/ory/glob/policies
on a newly created keto servernull
instead of[]
The text was updated successfully, but these errors were encountered: