fix the routers and UI

This commit is contained in:
noahnghg
2025-04-20 23:36:58 -06:00
parent eff9d9d91b
commit 46bd77025f
3 changed files with 13 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ const Transactions = () => {
const fetchTransactions = async () => {
try {
const response = await fetch(
"http://localhost:3030/api/transaction/getTransactionsByUser",
"http://localhost:3030/api/transaction/getAllTransactions",
{
method: "POST",
headers: { "Content-Type": "application/json" },