Adugna Tadesse

Results 1 issues of Adugna Tadesse

In the trpc file this code export const auth = t.middleware(({ next, ctx }) => { if (!ctx.user?.id) { throw new TRPCError({ code: "UNAUTHORIZED" }); } return next({ ctx: {...