From a2a20f097e7ad2e7072d91459bf2f88194f7eef4 Mon Sep 17 00:00:00 2001 From: UnderKoen Date: Wed, 9 Oct 2024 22:07:19 +0200 Subject: [PATCH] fix: create test budget --- packages/loot-core/src/server/accounts/sync.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/loot-core/src/server/accounts/sync.ts b/packages/loot-core/src/server/accounts/sync.ts index b453a5b88d4..a861b374075 100644 --- a/packages/loot-core/src/server/accounts/sync.ts +++ b/packages/loot-core/src/server/accounts/sync.ts @@ -460,7 +460,7 @@ export async function matchTransactions( subtransactions, } of normalized) { // Run the rules - const trans = runRules(originalTrans); + const trans = await runRules(originalTrans); let match = null; let fuzzyDataset = null; @@ -605,7 +605,7 @@ export async function addTransactions( for (const { trans: originalTrans, subtransactions } of normalized) { // Run the rules - const trans = runRules(originalTrans); + const trans = await runRules(originalTrans); const finalTransaction = { id: uuidv4(),