feat : update member

This commit is contained in:
lukman
2024-08-05 10:05:03 +08:00
parent 36bd1a3f04
commit e90c168d36
4 changed files with 18 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ export async function getAllUser(req: NextRequest) {
const users = await prisma.user.findMany({
where: {
isActive: active == "true" ? true : false,
idGroup: String(idGroup),
idGroup: String(fixGroup),
},
select: {
id: true,