We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 776eefa + 8e5bc46 commit 636eda5Copy full SHA for 636eda5
1 file changed
HuduAPI/Public/New-HuduCompany.ps1
@@ -108,7 +108,7 @@ function New-HuduCompany {
108
109
$Company.company.add('name', $Name)
110
if (-not ([string]::IsNullOrEmpty($Nickname))) { $Company.company.add('nickname', $Nickname) }
111
- if (-not ([string]::IsNullOrEmpty($Nickname))) { $Company.company.add('company_type', $CompanyType) }
+ if (-not ([string]::IsNullOrEmpty($CompanyType))) { $Company.company.add('company_type', $CompanyType) }
112
if (-not ([string]::IsNullOrEmpty($AddressLine1))) { $Company.company.add('address_line_1', $AddressLine1) }
113
if (-not ([string]::IsNullOrEmpty($AddressLine2))) { $Company.company.add('address_line_2', $AddressLine2) }
114
if (-not ([string]::IsNullOrEmpty($City))) { $Company.company.add('city', $City) }
0 commit comments