Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ak-acieslik committed Aug 10, 2023
1 parent 0024d27 commit 557416c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/Helper.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Function Get-Action {
Type = $type
Parent = $Parent
ChildActions = $childActions
Inputs = Remove-Secrets -Inputs $($inputs | ConvertTo-Json -Depth 10 -Compress)
Inputs = if ($null -ne $inputs){Remove-Secrets -Inputs $($inputs | ConvertTo-Json -Depth 10 -Compress)}else{""}
}

if ($action.type -eq 'If') {
Expand Down
2 changes: 0 additions & 2 deletions src/New-PowerAutomateDoc.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ Function Create-ExportPackage {
$body = @{
includedResourceIds = @(
"/providers/Microsoft.Flow/flows/$($flow.FlowName)"
$flow.Internal.properties.connectionReferences.PSObject.Properties.value.id
$flow.Internal.properties.connectionReferences.PSObject.Properties | Foreach-Object { $('{0}/connections/{1}' -f $($_.value.id), $($_.value.connectionName)) }
)
details = @{
displayName = $flow.DisplayName
Expand Down

0 comments on commit 557416c

Please sign in to comment.