🐛 (importer) fix nYNAB importer when decimal budgets used (#1529)

This commit is contained in:
Matiss Janis Aboltins
2023-08-16 17:45:06 +01:00
committed by GitHub
parent d3f9a9c3a0
commit 1d65184241
2 changed files with 7 additions and 1 deletions

View File

@@ -249,7 +249,7 @@ async function importBudgets(
await Promise.all(
budget.categories.map(async catBudget => {
let catId = entityIdMap.get(catBudget.id);
let amount = catBudget.budgeted / 10;
let amount = Math.round(catBudget.budgeted / 10);
if (
!catId ||

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [MatissJanis]
---
Fix nYNAB importer when fractional budget amounts are used