Skip to content

Ensure all api endpoints resolve #12

@frabarz

Description

@frabarz

API endpoints need a revision to ensure all errors are caught. Some of the endpoints only send a response to the client when the queries to the database are completed successfully, but if a parameter is badly constructed, the query fails and the server doesn't response, leading to a timeout.

Also in some cases, there's a condition where the server should send an error and stop the execution, but just sending a response with express doesn't stop the flow of the function, it must return.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions