try removing the loadBudget call entirely

This commit is contained in:
Campbell Alden 2026-03-20 17:22:54 +09:00
parent c61ec98ce2
commit 48ceec334e

View file

@ -46,7 +46,6 @@ async function addTransaction(config, transaction) {
password: config.password,
});
await api.downloadBudget(config.budgetId);
await api.loadBudget(config, budgetId); // include this even if docs dont emphasize it
await api.sync();
await api.addTransactions(config.accountId, [transaction]);