fix admin

deskripsi:
- fix api nomor admin
This commit is contained in:
2025-02-24 11:12:28 +08:00
parent 9d9025f833
commit a6a27c239a
7 changed files with 237 additions and 117 deletions

View File

@@ -37,7 +37,7 @@ const apiPostVerifikasiCodeOtp = async ({ nomor }: { nomor: string }) => {
};
const apiDeleteAktivasiKodeOtpByNomor = async ({ id }: { id: string }) => {
const respone = await fetch(`/api/auth/code/${id}/peserta`, {
const respone = await fetch(`/api/auth/code/${id}`, {
method: "DELETE",
headers: {
"Content-Type": "application/json",