Skip to content

Conversation

@matheusbsilva137
Copy link
Contributor

Proposed changes (including videos or screenshots)

  • Throw 404 error when trying to call invalid endpoints.

Issue(s)

Steps to test or reproduce

Expected output to an invalid endpoint:

{
  "statusCode": 404,
  "body": {
    "success": false,
    "error": "Resource not found"
  }
}

Further comments

Copy link
Member

@sampaiodiego sampaiodiego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to fix new eslint/prettier rules 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants