Closed gitgik closed 6 years ago
Fixes https://github.com/brighthive/program-registry/issues/13
The GET programs by organization under endpoint /api/organizations/<org_id>/programs returns only programs that belong to that organization. This fixes the get all programs bug.
/api/organizations/<org_id>/programs
@akebi the tests for getting all programs for a given org have been refactored. Feel free to merge the changes.
The build error is happening because of this error in heroku CLI.
It's now fixed.
What does this PR do?
Fixes https://github.com/brighthive/program-registry/issues/13
Description
The GET programs by organization under endpoint
/api/organizations/<org_id>/programs
returns only programs that belong to that organization. This fixes the get all programs bug.