File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Modules/CippExtensions/Public/Halo Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,18 @@ function New-HaloPSATicket {
2222 if ($Ticket.id ) {
2323 if (! $Ticket.hasbeenclosed ) {
2424 Write-Information ' Ticket is still open, adding new note'
25- $Object = [PSCustomObject ]@ {
25+ <# $Object = [PSCustomObject]@{
2626 ticket_id = $ExistingTicket.TicketID
2727 outcome_id = 7
2828 hiddenfromuser = $true
2929 note_html = $description
3030 }
31-
31+
3232 if ($Configuration.Outcome) {
3333 $Outcome = $Configuration.Outcome.value ?? $Configuration.Outcome
3434 $Object.outcome_id = $Outcome
3535 }
36-
36+
3737 $body = ConvertTo-Json -Compress -Depth 10 -InputObject @($Object)
3838 try {
3939 if ($PSCmdlet.ShouldProcess('Add note to HaloPSA ticket', 'Add note')) {
@@ -53,7 +53,7 @@ function New-HaloPSATicket {
5353 Write-Information "Failed to add note to HaloPSA ticket: $Message"
5454 Write-Information "Body we tried to ship: $body"
5555 return "Failed to add note to HaloPSA ticket: $Message"
56- }
56+ }#>
5757 }
5858 }
5959 else {
You can’t perform that action at this time.
0 commit comments