delete file tamplate

This commit is contained in:
2025-02-05 11:49:09 +08:00
parent 0d515797f5
commit 331b5c9a84
36 changed files with 16 additions and 1110 deletions

View File

@@ -40,8 +40,12 @@ const apiDeleteAktivasiKodeOtpByNomor = async ({
}: {
nomor: string;
}) => {
const respone = await fetch(`/api/auth/delete/${nomor}`, {
const respone = await fetch(`/api/auth/code`, {
method: "DELETE",
body: JSON.stringify({nomor}),
headers: {
"Content-Type": "application/json",
}
});
return await respone.json().catch(() => null);