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,