Skip to content

Commit

Permalink
Merge pull request #45 from Readify/deleted-tickets
Browse files Browse the repository at this point in the history
Deleted Tickets can't use the default sort order.
  • Loading branch information
RobFaie authored May 28, 2020
2 parents 60be7b7 + b03b7f6 commit a9c295b
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 a9c295b

Please sign in to comment.