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

Getting Repo by ID Returning Array #301

@DanielJDufour

Description

@DanielJDufour

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions