bug: /list_projects
API returns inconsistent response when no projects are found
#5010
Labels
/list_projects
API returns inconsistent response when no projects are found
#5010
What happened:
When making GET request to /list_projects of auth server incase of no projects it gives response like this
What you expected to happen:
Incase of no projects it can only return a message field
Where can this issue be corrected? (optional)
It's happening because there is no return statement here
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: