code-gov-api
code-gov-api copied to clipboard
Getting Repo by ID Returning Array
Describe the bug
A clear and concise description of what the bug is.
I'm not sure if this is intentional, but repos/repoID endpoint is returning an array in staging, which is different than currently in production, which returns 1 repo object not wrapped in an array
To Reproduce Steps to reproduce the behavior:
- Go to 'https://code-api-staging.app.cloud.gov/api/repos/dot_fhwa_intelligent_transportation_systems_operational_data_environment_its_ode_?api_key=DEMO_KEY'
Expected behavior A clear and concise description of what you expected to happen. Return an object
Screenshots
If applicable, add screenshots to help explain your problem.
On Staging:

On Production:

Additional context Add any other context about the problem here.
I can create a workaround in the api-client, so it's not a high priority