Merge branch 'join' into lukman/15-agustus-2024

This commit is contained in:
Moh Alif Al Lukman
2024-08-15 17:32:28 +08:00
committed by GitHub
18 changed files with 772 additions and 43 deletions

View File

@@ -1,3 +1,4 @@
import { prisma } from "@/module/_global";
import { funGetUserByCookies } from "@/module/auth";
import _, { result } from "lodash";
@@ -91,3 +92,4 @@ export async function GET(request: Request, context: { params: { id: string } })
);
}
}

View File

@@ -67,9 +67,6 @@ export async function GET(request: Request) {
member: v.DivisionProjectMember.length
}))
console.log('amalia', formatData)
return NextResponse.json({ success: true, message: "Berhasil mendapatkan divisi", data, }, { status: 200 });
} catch (error) {