Merge pull request #87 from bipproduction/lukman/1-agustus-2024

update api user
This commit is contained in:
Amalia
2024-08-01 10:25:33 +08:00
committed by GitHub

View File

@@ -7,6 +7,8 @@ export async function getAllUser(req: NextRequest) {
const idGroup = "2";
const idVillage = "121212";
const active = searchParams.get("active");
const idPosition = searchParams.get("idPosition");
const idUserRole = searchParams.get("idUserRole");
const users = await prisma.user.findMany({
where: {