Skip to content

Commit

Permalink
Merge pull request #1194 from JohnDuprey/dev
Browse files Browse the repository at this point in the history
standard template fix
  • Loading branch information
JohnDuprey authored Dec 3, 2024
2 parents 47fa612 + 248c570 commit a52e874
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 a52e874

Please sign in to comment.