[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.", 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;