getOne: protectedProcedure
.input(
z.object({
exampleId: z.number(),
}),
)
.query(async ({ ctx, input }) => {
return await ctx.apis.redacted.get<Example>(`/v1/example/${input.exampleId}`);
}),
getOne: protectedProcedure
.input(
z.object({
exampleId: z.number(),
}),
)
.query(async ({ ctx, input }) => {
return await ctx.apis.redacted.get<Example>(`/v1/example/${input.exampleId}`);
}),