kesekian kali

This commit is contained in:
Randa Firman Putra
2025-08-25 22:38:49 +07:00
parent 9f2c8775f5
commit eb8c4f55a6
7 changed files with 9 additions and 6 deletions

View File

@@ -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 }
);
}
}
}