Also return income category

This commit is contained in:
jacob1123 committed 2022-03-04 21:13:59 +00:00
1 parent 1e495a5e47
commit 34bbdf48b7
1 file changed
-4
-4
View File
@@ -174,10 +174,6 @@ func (h *Handler) calculateBalances(budget postgres.Budget,
categoryWithBalance := h.CalculateCategoryBalances(cat, cumultativeBalances,
firstOfNextMonth, moneyUsed, firstOfMonth, budget)
if cat.ID == budget.IncomeCategoryID {
continue
}
categoriesWithBalance = append(categoriesWithBalance, categoryWithBalance)
}