Skip to content

Commit

Permalink
Update Invoke-ExecGitHubAction.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Feb 11, 2025
1 parent 94698ca commit 2d81e06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function Invoke-ExecGitHubAction {
param($Request, $TriggerMetadata)

$Action = $Request.Query.Action ?? $Request.Body.Action
$SplatParams = ($Request.Query ?? $Request.Body) | Select-Object -ExcludeProperty Action | ConvertTo-Json | ConvertFrom-Json -AsHashtable
$SplatParams = ($Request.Query ?? $Request.Body) | Select-Object -ExcludeProperty Action, TenantFilter | ConvertTo-Json | ConvertFrom-Json -AsHashtable

switch ($Action) {
'Search' {
Expand Down

0 comments on commit 2d81e06

Please sign in to comment.