refactor: return correct information

This commit is contained in:
Mauricio Siu
2025-02-13 02:45:33 -06:00
parent bc901bcb25
commit 5c24281f72
3 changed files with 9 additions and 3 deletions

View File

@@ -169,7 +169,6 @@ export const authRouter = createTRPCRouter({
}),
get: protectedProcedure.query(async ({ ctx }) => {
console.log(ctx.user);
const auth = await findAuthById(ctx.user.id);
return auth;
}),