Add a manage page with tabs
This commit is contained in:
@@ -13,7 +13,7 @@ export const photosRouter = createTRPCRouter({
|
||||
.input(
|
||||
z
|
||||
.object({
|
||||
limit: z.number().nonnegative().default(1),
|
||||
limit: z.number().nonnegative().default(2),
|
||||
cursor: z.number().nonnegative().default(0),
|
||||
})
|
||||
.optional()
|
||||
@@ -36,5 +36,5 @@ export const photosRouter = createTRPCRouter({
|
||||
next,
|
||||
};
|
||||
}),
|
||||
update: protectedProcedure.query(update),
|
||||
update: publicProcedure.query(update),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user