Replies: 1 comment
|
The issue is that Fix: pass the status code as the second argument to return c.json(
{
body: {
status: "404",
message: "Project doesn't exist",
},
},
404 // <-- HTTP status code goes here
)The signature is |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
return c.json({ body: { status: "404", message: "Project doesn't exist", }, status: 404, })All reactions