Skip to content

Commit

Permalink
fix delete template
Browse files Browse the repository at this point in the history
  • Loading branch information
KelvinTegelaar committed Jan 2, 2025
1 parent 4257f07 commit 4d31174
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Function Invoke-RemoveSpamfilterTemplate {
$User = $request.headers.'x-ms-client-principal'
Write-LogMessage -user $User -API $APINAME -message 'Accessed this API' -Sev 'Debug'

$ID = $request.query.id
$ID = $request.body.id
try {
$Table = Get-CippTable -tablename 'templates'
$Filter = "PartitionKey eq 'SpamfilterTemplate' and RowKey eq '$id'"
Expand Down

0 comments on commit 4d31174

Please sign in to comment.