Commit 1b44dbd8 by G

reverse the response since the backend does not do it yet. add a todo to remind…

reverse the response since the backend does not do it yet. add a todo to remind me to change this later
parent 796ef040
...@@ -41,7 +41,8 @@ export const getTransactionsHistory = async (): Promise<Transaction[]> => { ...@@ -41,7 +41,8 @@ export const getTransactionsHistory = async (): Promise<Transaction[]> => {
log.http("getTransactionsHistory |", JSON.stringify(response, null, 2)); log.http("getTransactionsHistory |", JSON.stringify(response, null, 2));
return response; // TODO: Update this when the api is fixed, response should not be reversed
return response.reverse();
} catch (error) { } catch (error) {
log.error("getTransactionsHistory |", error); log.error("getTransactionsHistory |", error);
throw error; throw error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment