fix limit increase when not planned

This commit is contained in:
xds
2025-02-13 14:21:35 +03:00
parent 48df8f209d
commit a5b334f6c2

View File

@@ -1618,7 +1618,7 @@ class FinancialService(
Document("\$unwind", "\$categoryInfo"),
// 5. Фильтруем по типу категории (EXPENSE)
// Document("\$match", Document("categoryInfo.type.code", "EXPENSE")),
Document("\$match", Document("categoryInfo.type.code", "EXPENSE")),
// 6. Группируем обратно по категории, собирая все (год, месяц, total)
Document(