Skip to content

Commit

Permalink
fixes rawjson output
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Feb 13, 2025
1 parent 87d41f3 commit 25e000a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Function Invoke-ListBPATemplates {
$Templates = Get-CIPPAzDataTableEntity @Table -Filter $Filter

if ($Request.Query.RawJson) {
$Templates
$Templates.JSON | ConvertFrom-Json
} else {
$Templates = $Templates | ForEach-Object {
$Template = $_.JSON | ConvertFrom-Json
Expand Down

0 comments on commit 25e000a

Please sign in to comment.