upd: division

Deskripsi:
- pembatasan user role
- log user

No Issues
This commit is contained in:
amel
2024-09-06 16:48:38 +08:00
parent 73ba6381ff
commit 51b18cd177
5 changed files with 34 additions and 9 deletions

View File

@@ -1,11 +1,10 @@
// GET MEMBER BY ID
import { prisma } from "@/module/_global";
import { funGetUserByCookies } from "@/module/auth";
import _ from "lodash";
import { NextResponse } from "next/server";
// GET MEMBER BY ID
export async function GET(request: Request, context: { params: { id: string } }) {
try {
const { id } = context.params;