Skip to content

Commit 26d556b

Browse files
committed
fix: save template
1 parent c969bcf commit 26d556b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using namespace System.Net
22

3-
Function Invoke-AddStandardsTemplate {
3+
function Invoke-AddStandardsTemplate {
44
<#
55
.FUNCTIONALITY
66
Entrypoint,AnyTenant
@@ -31,7 +31,7 @@ Function Invoke-AddStandardsTemplate {
3131

3232
}
3333
Write-LogMessage -headers $Request.Headers -API $APINAME -message "Created CA Template $($Request.body.name) with GUID $GUID" -Sev 'Debug'
34-
$body = [pscustomobject]@{'Results' = 'Successfully added template'; id = $GUID }
34+
$body = [pscustomobject]@{'Results' = 'Successfully added template'; Metadata = @{id = $GUID } }
3535

3636
# Associate values to output bindings by calling 'Push-OutputBinding'.
3737
Push-OutputBinding -Name Response -Value ([HttpResponseContext]@{

0 commit comments

Comments
 (0)