Skip to content

Commit 0e268a8

Browse files
committed
Deleted Tickets can't use the default sort order.
1 parent fb91d21 commit 0e268a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/Get-DeletedTicket.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function Get-DeletedTicket {
2626

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

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

3232
}

0 commit comments

Comments
 (0)