This commit is contained in:
Vladimir Voronin
2024-11-04 17:41:35 +03:00
parent c2b8787ed4
commit 7ae38604d2
11 changed files with 168 additions and 82 deletions

View File

@@ -28,7 +28,7 @@ export const getBudgetTransactions = async (budgetId, transactionType, categoryT
let url = `/budgets/${budgetId}/transactions`
if (transactionType && !categoryType) {
url += '/?type=' + transactionType
url += '?type=' + transactionType
}
if (transactionType && categoryType) {
url += '/'+transactionType+'/'+categoryType