Skip to content

Commit

Permalink
Deleted Tickets can't use the default sort order.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobFaie committed May 28, 2020
1 parent da35b06 commit b03b7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/Get-DeletedTicket.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function Get-DeletedTicket {

$path = '/api/v2/deleted_tickets.json'

$result = Invoke-Method -Context $Context -Path $path -Verbose:$VerbosePreference
$result = Invoke-Method -Context $Context -Path $path -SortBy 'deleted_at' -Verbose:$VerbosePreference
$result | Select-Object -Expand 'deleted_tickets'

}

0 comments on commit b03b7f6

Please sign in to comment.