Skip to content

Commit

Permalink
pass order=0 when querying outbox newest is first (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinn committed Jun 7, 2024
1 parent 0781e4e commit 945ac29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/excavator-script/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export function sendSpadingData(projectName: string, data: object) {
function deleteSpadingKmail(sentTo: string): void {
// Only delete from the first page
const buffer = visitUrl(
`messages.php?box=Outbox&begin=1&per_page=10`,
`messages.php?box=Outbox&begin=1&order=0&per_page=10`,
).toLowerCase();
const messageIds: string[] = buffer
.split("td valign=top")
Expand Down

0 comments on commit 945ac29

Please sign in to comment.