From 029baea3b8f1ce4149e933f8f540470861c74e8b Mon Sep 17 00:00:00 2001 From: amel Date: Wed, 30 Apr 2025 17:09:05 +0800 Subject: [PATCH] upd: mobile api Deskripsi: - update api mobile position No Issues --- src/app/api/mobile/position/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/mobile/position/route.ts b/src/app/api/mobile/position/route.ts index 0b68326..2e6bb00 100644 --- a/src/app/api/mobile/position/route.ts +++ b/src/app/api/mobile/position/route.ts @@ -21,7 +21,7 @@ export async function GET(request: Request) { const user = await funGetUserById({ id: userMobile }) - if (idGroup == "null" || idGroup == undefined || idGroup == "") { + if (idGroup == "null" || idGroup == "undefined" || idGroup == undefined || idGroup == "") { grup = user.idGroup } else { grup = idGroup