fix: bookmarks show unauthorized when not logged in (#2123)

This commit is contained in:
Meier Lukas
2025-01-26 21:25:04 +01:00
committed by GitHub
parent 57b523fa80
commit 2bb44e1666

View File

@@ -102,7 +102,7 @@ export const appRouter = createTRPCRouter({
return app;
}),
byIds: protectedProcedure.input(z.array(z.string())).query(async ({ ctx, input }) => {
byIds: publicProcedure.input(z.array(z.string())).query(async ({ ctx, input }) => {
return await ctx.db.query.apps.findMany({
where: inArray(apps.id, input),
});