fix: close analytics review findings

This commit is contained in:
2026-08-21 07:23:57 +03:00
parent 7154e8f2ea
commit 7671ab76b2
5 changed files with 16 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ router.get(
from: from as string,
to: to as string,
accountId: accountId ? Number(accountId) : undefined,
categoryId: categoryId ? Number(categoryId) : undefined,
categoryId: categoryId !== undefined ? Number(categoryId) : undefined,
onlyConfirmed: onlyConfirmed === 'true',
granularity: granularity as Granularity,
});