Skip to content

Commit

Permalink
Removed accidental characters
Browse files Browse the repository at this point in the history
  • Loading branch information
ffeldhaus committed May 18, 2018
1 parent 4737ee8 commit af1bb1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OnCommand-Insight.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -2600,7 +2600,7 @@ function Global:Update-OciDataSource {
}
$Body = $Body | ConvertTo-Json -Depth 10
Write-Verbose "Body: $Body"
-- $Result = Invoke-RestMethod -WebSession $Server.Session -TimeoutSec $Server.Timeout -Method PATCH -Uri $Uri -Headers $Server.Headers -Body ([System.Text.Encoding]::UTF8.GetBytes($Body)) -ContentType 'application/json'
$Result = Invoke-RestMethod -WebSession $Server.Session -TimeoutSec $Server.Timeout -Method PATCH -Uri $Uri -Headers $Server.Headers -Body ([System.Text.Encoding]::UTF8.GetBytes($Body)) -ContentType 'application/json'
if ($Result.toString().startsWith('{')) {
$Result = ParseJsonString -json $Result
}
Expand Down

0 comments on commit af1bb1d

Please sign in to comment.