From ef36779afc704a3894a730d55407761ba328520c Mon Sep 17 00:00:00 2001 From: Patrick Nagurny Date: Wed, 26 Aug 2020 10:30:28 -0600 Subject: [PATCH] fix transaction constructor --- src/app/shared/transaction.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/shared/transaction.ts b/src/app/shared/transaction.ts index b1cb9be..151dea1 100644 --- a/src/app/shared/transaction.ts +++ b/src/app/shared/transaction.ts @@ -11,8 +11,8 @@ export class Transaction { splits: Split[]; constructor(options: any = {}) { this.id = options.id; - this.orgId = options.id; - this.userId = options.id; + this.orgId = options.orgId; + this.userId = options.userId; this.date = options.date ? new Date(options.date) : null; this.inserted = options.inserted ? new Date(options.inserted) : null; this.updated = options.updated ? new Date(options.updated) : null;