Skip to content

Commit f27d1c7

Browse files
bug #1 migration
1 parent 8ab51a1 commit f27d1c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function Invoke-ExecStandardConvert {
204204
$Converted | Add-Member -NotePropertyName 'createdAt' -NotePropertyValue ((Get-Date).ToUniversalTime()) -Force
205205
$Converted | Add-Member -NotePropertyName 'updatedBy' -NotePropertyValue 'System' -Force
206206
$Converted | Add-Member -NotePropertyName 'updatedAt' -NotePropertyValue (Get-Date).ToUniversalTime() -Force
207-
$JSON = $Converted | ConvertTo-Json -Depth 40
207+
$JSON = ConvertTo-Json -Depth 40 -InputObject $Converted
208208

209209
$Table = Get-CippTable -tablename 'templates'
210210
$Table.Force = $true

0 commit comments

Comments
 (0)