ok
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user