Skip to content

Commit

Permalink
[Bugfix] Fix update transaction API bug (#2127)
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-french authored Dec 27, 2023
1 parent edbcaba commit e548125
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loot-core/src/server/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ handlers['api/transaction-update'] = withMutation(async function ({
return [];
}

const { diff } = updateTransaction(transactions, fields);
const { diff } = updateTransaction(transactions, { id, ...fields });
return handlers['transactions-batch-update'](diff);
});

Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/2127.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [mk-french]
---

Fix update transaction API bug

0 comments on commit e548125

Please sign in to comment.