fixup! Implement /api/transactions/sum

This commit is contained in:
William Brawner 2023-07-17 21:29:25 -06:00
parent c97c9b2c67
commit e84dedf675

View file

@ -291,7 +291,7 @@ public class TransactionController {
return ResponseEntity.notFound().build();
}
transactions = transactionRepository.findAllByBudgetInAndCategoryInAndDateGreaterThanAndDateLessThan(
Collections.emptyList(),
List.of(category.getBudget()),
List.of(category),
fromInstant,
toInstant,