Merge branch 'main' into feat/org-insights

This commit is contained in:
Ephraim Duncan
2025-09-02 11:28:40 +00:00
committed by GitHub
199 changed files with 5102 additions and 2007 deletions

View File

@ -10,13 +10,7 @@ export type UpdateUserOptions = {
};
export const updateUser = async ({ id, name, email, roles }: UpdateUserOptions) => {
await prisma.user.findFirstOrThrow({
where: {
id,
},
});
return await prisma.user.update({
await prisma.user.update({
where: {
id,
},