routing-controllers
routing-controllers copied to clipboard
UnauthorizedError Not returning correct status code
Used the UnauthorizedError
exception in my controller, it returns the correct error message, but the status code is wrong, returns 200 instead of 404
The same here but with BadRequestError