Skip to content

Commit

Permalink
Find-TssSecret - fix lookup by id error identified in test
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmelton committed Jan 19, 2021
1 parent 8bd9e13 commit 2be2358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/secrets/Find-Secret.ps1
Expand Up @@ -175,7 +175,7 @@
Write-Verbose "Provided command parameters: $(. $GetInvocation $PSCmdlet.MyInvocation)"
if ($tssParams.Contains('TssSession') -and $TssSession.IsValidSession()) {
if ($tssParams['Id']) {
$uri = $TssSession.ApiUrl + ("secrets/lookup", $Id -join '/')
$uri = $TssSession.ApiUrl , "secrets/lookup", $Id -join '/'
} else {
$uri = $TssSession.ApiUrl, "secrets/lookup" -join '/'
$uri += "?take=$($TssSession.Take)"
Expand Down

0 comments on commit 2be2358

Please sign in to comment.