upd: tambah anggota task

Deskripsi:
-tambah anggota task

NO ISsues
This commit is contained in:
amel
2024-08-19 16:11:20 +08:00
parent 5e591c6908
commit 912f4fd309
10 changed files with 303 additions and 8 deletions

View File

@@ -108,6 +108,7 @@ export async function GET(request: Request, context: { params: { id: string } })
},
select: {
id: true,
idUser: true,
User: {
select: {
name: true,
@@ -185,4 +186,5 @@ export async function POST(request: Request, context: { params: { id: string } }
console.log(error);
return NextResponse.json({ success: false, message: "Gagal mengedit detail tugas, coba lagi nanti", reason: (error as Error).message, }, { status: 500 });
}
}
}