prolif löschen

This commit is contained in:
2023-03-02 22:02:38 +01:00
parent 5c7f9b3b03
commit c3e5b151b0
5 changed files with 76 additions and 13 deletions

View File

@ -299,6 +299,21 @@ export const wantNewPw = async ({email}:{email: string}) =>
}
}
export const deleteProfil = async ({qr_id}:{qr_id: string}) =>
{
try
{
const {data} = await Axios.post('deleteProfil.php', {qr_id});
console.log('Api deleteProfil');
console.log(data);
return data;
}
catch(err)
{
return {success:0, message:'Password Request Server Error!'};
}
}
// export const sleep = (ms: number) =>
// {