Skip to content

Commit f036c0b

Browse files
committed
fix: odata sanitization
1 parent b446c02 commit f036c0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CIPPHTTP/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ExecEditTemplate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function Invoke-ExecEditTemplate {
1717

1818
if ($Type -eq 'IntuneTemplate') {
1919
Write-Host 'Intune Template'
20-
$SafeGUID = ConvertTo-CIPPODataFilterValue -Value $GUID -Type Guid
20+
$SafeGUID = ConvertTo-CIPPODataFilterValue -Value $GUID -Type String
2121
$Template = Get-CIPPAzDataTableEntity @Table -Filter "PartitionKey eq 'IntuneTemplate' and RowKey eq '$SafeGUID'"
2222
$OriginalJSON = $Template.JSON
2323

0 commit comments

Comments
 (0)