diff --git a/ACME-PS/ACME-PS.psd1 b/ACME-PS/ACME-PS.psd1 index 9368df6..fec7a08 100644 --- a/ACME-PS/ACME-PS.psd1 +++ b/ACME-PS/ACME-PS.psd1 @@ -1,6 +1,6 @@ @{ RootModule = 'ACME-PS.psm1' - ModuleVersion = '1.5.7' + ModuleVersion = '1.5.8' GUID = '2DBF7E3F-F830-403A-9300-78A11C7CD00C' CompatiblePSEditions = @("Core", "Desktop") diff --git a/ACME-PS/functions/Account/New-Account.ps1 b/ACME-PS/functions/Account/New-Account.ps1 index 7bf149a..8aeb402 100644 --- a/ACME-PS/functions/Account/New-Account.ps1 +++ b/ACME-PS/functions/Account/New-Account.ps1 @@ -108,7 +108,7 @@ function New-Account { $keyId = $response.Headers["Location"][0]; - return Get-Account -AccountUrl $keyId -KeyId $keyId -State $State -PassThru:$PassThru + return Get-Account -AccountUrl $keyId -KeyId $keyId -State $State } else { Write-Error "JWK had already been registiered for an account." return; diff --git a/dist/ACME-PS/ACME-PS.psd1 b/dist/ACME-PS/ACME-PS.psd1 index 9368df6..fec7a08 100644 --- a/dist/ACME-PS/ACME-PS.psd1 +++ b/dist/ACME-PS/ACME-PS.psd1 @@ -1,6 +1,6 @@ @{ RootModule = 'ACME-PS.psm1' - ModuleVersion = '1.5.7' + ModuleVersion = '1.5.8' GUID = '2DBF7E3F-F830-403A-9300-78A11C7CD00C' CompatiblePSEditions = @("Core", "Desktop") diff --git a/dist/ACME-PS/ACME-PS.psm1 b/dist/ACME-PS/ACME-PS.psm1 index 9e99829..5c35f8a 100644 --- a/dist/ACME-PS/ACME-PS.psm1 +++ b/dist/ACME-PS/ACME-PS.psm1 @@ -1708,7 +1708,7 @@ function New-Account { $keyId = $response.Headers["Location"][0]; - return Get-Account -AccountUrl $keyId -KeyId $keyId -State $State -PassThru:$PassThru + return Get-Account -AccountUrl $keyId -KeyId $keyId -State $State } else { Write-Error "JWK had already been registiered for an account." return;