[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2025-09-16 07:47:55 +00:00
committed by GitHub
parent d13975adac
commit c1896f8877
4 changed files with 13 additions and 5 deletions
+3 -2
View File
@@ -192,13 +192,14 @@ export const userRouter = createTRPCRouter({
})
.where(eq(account.userId, ctx.user.id));
}
try {
return await updateUser(ctx.user.id, input);
} catch (error) {
throw new TRPCError({
code: "BAD_REQUEST",
message: error instanceof Error ? error.message : "Failed to update user",
message:
error instanceof Error ? error.message : "Failed to update user",
});
}
}),