fix(deps): update dependency typescript-eslint to ^8.51.0 (#4795)

Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com>
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
homarr-renovate[bot]
2026-01-03 23:17:05 +01:00
committed by GitHub
parent 35e0198b5d
commit f0a2551fdf
4 changed files with 79 additions and 79 deletions

View File

@@ -24,7 +24,7 @@ export const notebookRouter = createTRPCRouter({
where: eq(items.id, input.itemId),
});
if (!item || item.boardId !== input.boardId) {
if (item?.boardId !== input.boardId) {
throw new TRPCError({
code: "NOT_FOUND",
message: "Specified item was not found",