From f7697178fd7d5262027bfc4c67937d79e548ce51 Mon Sep 17 00:00:00 2001 From: piratefinn Date: Thu, 8 Mar 2018 15:09:35 +0000 Subject: [PATCH] emergency fix to upload for category --- src/app/dashboard/add-data.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/dashboard/add-data.component.ts b/src/app/dashboard/add-data.component.ts index ae01d75..b562721 100644 --- a/src/app/dashboard/add-data.component.ts +++ b/src/app/dashboard/add-data.component.ts @@ -208,6 +208,7 @@ export class AddDataComponent implements OnInit { transaction_value : this.amount, purchase_time : purchaseTime, organisation_id : this.organisationId, + category : this.categoryId, essential : this.essentialPurchase, recurring : this.recurringType, }; @@ -221,6 +222,7 @@ export class AddDataComponent implements OnInit { street_name : this.submitOrg.street_name, town : this.submitOrg.town, postcode : this.submitOrg.postcode, + category : this.categoryId, essential : this.essentialPurchase, recurring : this.recurringType, };