Skip to content

Commit 94698ca

Browse files
committed
Update Invoke-ExecGitHubAction.ps1
1 parent 4a82f31 commit 94698ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tools/GitHub/Invoke-ExecGitHubAction.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function Invoke-ExecGitHubAction {
2727
$Results = @(Get-GitHubBranch @SplatParams)
2828
}
2929
'GetFileTree' {
30-
$Files = (Get-GitHubFileTree @SplatParams).tree | Where-Object { $_.path -match '.json$' } | Select-Object *, @{n = 'html_url'; e = { "https://github.com/$($Request.Body.GetFileTree.FullName)/tree/$($Request.Body.GetFileTree.Branch)/$($_.path)" } }
30+
$Files = (Get-GitHubFileTree @SplatParams).tree | Where-Object { $_.path -match '.json$' } | Select-Object *, @{n = 'html_url'; e = { "https://github.com/$($SplatParams.FullName)/tree/$($SplatParams.Branch)/$($_.path)" } }
3131
$Results = @($Files)
3232
}
3333
}

0 commit comments

Comments
 (0)