fix: issues found in security audit (#1668)

This commit is contained in:
Meier Lukas authored and GitHub committed 2024-12-15 21:16:42 +01:00
1 parent 032509e462
commit 922101dcbd
15 files changed
+70 -27

No files matched your search

+2 -2
View File
@@ -5,10 +5,10 @@ import { eq } from "@homarr/db";
import { items } from "@homarr/db/schema/sqlite";
import { z } from "@homarr/validation";
import { createTRPCRouter, publicProcedure } from "../../trpc";
import { createTRPCRouter, protectedProcedure } from "../../trpc";
export const notebookRouter = createTRPCRouter({
updateContent: publicProcedure
updateContent: protectedProcedure
.input(
z.object({
itemId: z.string(),