diff --git a/src/app/transactions/add-edit-transaction/add-edit-transaction.component.ts b/src/app/transactions/add-edit-transaction/add-edit-transaction.component.ts index bb01c08..ab038c7 100644 --- a/src/app/transactions/add-edit-transaction/add-edit-transaction.component.ts +++ b/src/app/transactions/add-edit-transaction/add-edit-transaction.component.ts @@ -81,7 +81,7 @@ export class AddEditTransactionComponent implements OnInit, OnChanges { description: this.currentTransaction.description, amount: this.currentTransaction.amount * 100, date: this.currentTransaction.date, - category: this.currentTransaction.categoryId, + categoryId: this.currentTransaction.categoryId, expense: this.currentTransaction.expense } );