Skip to content

Commit

Permalink
standard template fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed Dec 3, 2024
1 parent 819c270 commit 248c570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/CIPPCore/Public/Invoke-RemoveStandardTemplate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Function Invoke-RemoveStandardTemplate {
$User = $request.headers.'x-ms-client-principal'
Write-LogMessage -user $User -API $APINAME -message 'Accessed this API' -Sev 'Debug'

$ID = $request.body.ID
$ID = $Request.Body.ID ?? $Request.Query.ID
try {
$Table = Get-CippTable -tablename 'templates'

Expand Down

0 comments on commit 248c570

Please sign in to comment.