Skip to content

Search appeals / appeals response by resource ID doesn't work #46

@jmgasper

Description

@jmgasper

The resourceId where clause should work, but we're pulling appeals response, not appeals, so the response is empty. In the database, I have an appeal from this resource, but the response comes back as an empty array.

https://github.com/topcoder-platform/tc-review-api/blob/4d46790b7589dd9c3a5b508b44fc566d0e4789f1/src/api/appeal/appeal.controller.ts#L340-L341

/v6/appeals?resourceId=7d7d4e71-904d-47ef-8c0a-a2fd388e6cb6

Response:

{
    "data": [],
    "meta": {
        "page": 1,
        "perPage": 10,
        "totalCount": 0,
        "totalPages": 0
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions