[server/api/notes/show] return correct status code
This commit is contained in:
parent
76a10c0a54
commit
28992db8e4
|
@ -21,6 +21,7 @@ export const meta = {
|
||||||
message: "No such note.",
|
message: "No such note.",
|
||||||
code: "NO_SUCH_NOTE",
|
code: "NO_SUCH_NOTE",
|
||||||
id: "24fcbfc6-2e37-42b6-8388-c29b3861a08d",
|
id: "24fcbfc6-2e37-42b6-8388-c29b3861a08d",
|
||||||
|
httpStatusCode: 404,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
|
|
Loading…
Reference in New Issue