Skip to content

Commit 173de70

Browse files
committed
fix logging
1 parent 57868b6 commit 173de70

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ function Invoke-AddStandardsTemplate {
2929
RowKey = "$GUID"
3030
PartitionKey = 'StandardsTemplateV2'
3131
GUID = "$GUID"
32-
3332
}
34-
Write-LogMessage -headers $Request.Headers -API $APINAME -message "Created CA Template $($Request.body.name) with GUID $GUID" -Sev 'Debug'
33+
Write-LogMessage -headers $Request.Headers -API $APINAME -message "Standards Template $($Request.body.templateName) with GUID $GUID added/edited." -Sev 'Info'
3534
$body = [pscustomobject]@{'Results' = 'Successfully added template'; Metadata = @{id = $GUID } }
3635

3736
# Associate values to output bindings by calling 'Push-OutputBinding'.

0 commit comments

Comments
 (0)