kesekian kali
This commit is contained in:
@@ -60,6 +60,7 @@ export async function POST(request: NextRequest) {
|
||||
);
|
||||
}
|
||||
|
||||
// Insert without specifying id_kk to let the database auto-generate it
|
||||
const { data, error } = await supabase
|
||||
.from('kelompok_keahlian')
|
||||
.insert([{ nama_kelompok: nama_kelompok.trim() }])
|
||||
@@ -211,4 +212,4 @@ export async function DELETE(request: NextRequest) {
|
||||
{ status: 500 }
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user