Skip to content

Commit

Permalink
Get-Account has no -PassThru
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Glatzer committed Jan 2, 2024
1 parent 53bbfff commit d2371b2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ACME-PS/ACME-PS.psd1
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
2 changes: 1 addition & 1 deletion ACME-PS/functions/Account/New-Account.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion dist/ACME-PS/ACME-PS.psd1
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
2 changes: 1 addition & 1 deletion dist/ACME-PS/ACME-PS.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d2371b2

Please sign in to comment.