Closed FoRVaiS closed 6 months ago
Hours Worked: 3
If i try a non existing route the response is 404
and contains
"isError": false,
"data": "Route Not Found"
Is this intended behaviour? It could be a problem if one checks the response for isError
rather than status code.
If i try a non existing route the response is
404
and contains"isError": false, "data": "Route Not Found"
Is this intended behaviour? It could be a problem if one checks the response for
isError
rather than status code.
Not intended, I forgot to pass an error into the response function, fixed now.
Summary
Routes
Response
Pagination
page
andlimit
query params and inject them into the request objectTesting
make res
npm run -w apps/api start:dev
Verify routes still work
http://127.0.0.1:3000/api/v1/auth/login