Skip to content

Commit 25e000a

Browse files
fixes rawjson output
1 parent 87d41f3 commit 25e000a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-ListBPATemplates.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Function Invoke-ListBPATemplates {
3131
$Templates = Get-CIPPAzDataTableEntity @Table -Filter $Filter
3232

3333
if ($Request.Query.RawJson) {
34-
$Templates
34+
$Templates.JSON | ConvertFrom-Json
3535
} else {
3636
$Templates = $Templates | ForEach-Object {
3737
$Template = $_.JSON | ConvertFrom-Json

0 commit comments

Comments
 (0)