This commit is contained in:
zadit
2024-11-16 23:44:48 +07:00
parent bea0ff63d7
commit b8c1d30d14
26 changed files with 1841 additions and 799 deletions

View File

@@ -149,7 +149,7 @@ export async function getTransaction(transactionId) {
}
}
export async function getMyTransactions(shopId, demand) {
export async function getMyTransactions() {
try {
const token = getLocalStorage("auth");
const response = await fetch(
@@ -163,9 +163,6 @@ export async function getMyTransactions(shopId, demand) {
}
);
if (!response.ok) {
return false;
}
const transactions = await response.json();
return transactions;