This commit is contained in:
frontend perkafean
2024-09-18 08:40:55 +00:00
parent f46639e05c
commit dbc43d18fa
18 changed files with 310 additions and 166 deletions

View File

@@ -55,7 +55,7 @@ export async function cancelTransaction(transactionId) {
console.log(transactionId);
const token = getLocalStorage("auth");
const response = await fetch(
`${API_BASE_URL}/transaction/claim-transaction/${transactionId}`,
`${API_BASE_URL}/transaction/cancel-transaction/${transactionId}`,
{
method: "POST",
headers: {