fix: refactor admin router (#1982)

This commit is contained in:
David Nguyen
2025-08-25 08:23:48 +10:00
committed by GitHub
parent d7e5a9eec7
commit 5a5bfe6e34
29 changed files with 353 additions and 255 deletions

View File

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