Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Getting Repo by ID Returning Array #301

Open
DanielJDufour opened this issue Nov 13, 2018 · 1 comment
Open

Getting Repo by ID Returning Array #301

DanielJDufour opened this issue Nov 13, 2018 · 1 comment

Comments

@DanielJDufour
Copy link
Contributor

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:

  1. 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:
image

On Production:
image

Additional context
Add any other context about the problem here.

@DanielJDufour
Copy link
Contributor Author

I can create a workaround in the api-client, so it's not a high priority

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants