money-lover-app-client 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js CHANGED
@@ -6516,14 +6516,14 @@ class MoneyLoverClient {
6516
6516
  });
6517
6517
  }
6518
6518
  addTransaction(transaction) {
6519
- return this._postRequest("/transaction/add", JSON.stringify({
6519
+ return this._postRequest("/transaction/add", {
6520
6520
  with: [],
6521
6521
  account: transaction.account,
6522
6522
  category: transaction.category,
6523
6523
  amount: transaction.amount,
6524
6524
  note: transaction.note,
6525
6525
  displayDate: formatDate(transaction.date),
6526
- }), {
6526
+ }, {
6527
6527
  "Content-Type": "application/json",
6528
6528
  });
6529
6529
  }