From d55243aadc8ca59cd501fb1b8c9a8d8c7d2eafe3 Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Thu, 5 Aug 2021 18:07:56 -0700 Subject: [PATCH] fix error --- app/user-helpers.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/user-helpers.go b/app/user-helpers.go index 986fd3c..480a9ef 100644 --- a/app/user-helpers.go +++ b/app/user-helpers.go @@ -84,7 +84,7 @@ func MarshalAuthUserToSwagger(obj *auth_models.User) *User { Signature: obj.Signature, SmallPhotoURL: obj.SmallPhotoURL, StartOfDay: obj.StartOfDay, - TaxnexusAccount: obj.TelnexusAccount, + TaxnexusAccount: obj.TaxnexusAccount, TenantID: obj.TenantID, TenantUsers: tenantUsers, TimeZone: obj.TimeZone, @@ -105,7 +105,7 @@ func reMarshalUserRole(s *auth_models.UserRole) *UserRole { RoleDescription: s.RoleDescription, RoleID: s.RoleID, RoleName: s.RoleName, - TelnexusAccount: s.TelnexusAccount, + TelnexusAccount: s.TaxnexusAccount, UserEmail: s.UserEmail, UserFullName: s.UserFullName, UserID: s.UserID, @@ -119,7 +119,7 @@ func reMarshalTenantUser(s *auth_models.TenantUser) *TenantUser { Auth0UserID: s.Auth0UserID, CompanyName: s.CompanyName, ContactID: s.ContactID, - TelnexusAccount: s.TelnexusAccount, + TelnexusAccount: s.TaxnexusAccount, TenantActive: s.TenantActive, TenantID: s.TenantID, TenantName: s.TenantName,