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

This commit is contained in:
Laura Hausmann 2023-07-09 23:35:07 +02:00
parent 76a10c0a54
commit 28992db8e4
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605
1 changed files with 1 additions and 0 deletions

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;