Skip to content

Do not throw 500 when no votes found #43

@lukasotocerny

Description

@lukasotocerny

Currently the endpoint /users/{user-id}/votes returns HTTP 500 from method getAllVotesForUser. That's not a good practice and should either return HTTP 200 [] empty array, or HTTP 404.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions