[server/api/notes/show] return correct status code

This commit is contained in:
Laura Hausmann 2023-07-09 23:35:07 +02:00
parent 8d988e6456
commit 02bc972b2a
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605

View File

@ -21,6 +21,7 @@ export const meta = {
message: "No such note.",
code: "NO_SUCH_NOTE",
id: "24fcbfc6-2e37-42b6-8388-c29b3861a08d",
httpStatusCode: 404,
},
},
} as const;