Skip to content

Commit 4b86799

Browse files
fix for templates
1 parent 25e000a commit 4b86799

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.JSON | ConvertFrom-Json
34+
$Templates = $Templates.JSON | ConvertFrom-Json
3535
} else {
3636
$Templates = $Templates | ForEach-Object {
3737
$Template = $_.JSON | ConvertFrom-Json

0 commit comments

Comments
 (0)