Skip to content

Commit

Permalink
Protect-Secret - remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Apr 16, 2021
1 parent 1da9eab commit 2922f21
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/functions/secrets/Protect-Secret.ps1
Expand Up @@ -96,9 +96,6 @@ function Protect-Secret {
if ($protectParams.ContainsKey('IncludeInactive')) {
$protectBody.Add('includeInactive',[boolean]$IncludeInactive)
}
if ($protectParams.ContainsKey('NewPassword')) {
$protectBody.Add('newPassword',$NewPassword)
}

$invokeParams.Body = $protectBody | ConvertTo-Json

Expand Down

0 comments on commit 2922f21

Please sign in to comment.