Skip to content

Commit

Permalink
limit to 100 recent action runs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfederschmidt committed Sep 27, 2023
1 parent 9a07112 commit c5b59fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/soar/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ export class SoarClient {
}

listActionRuns = async() => {
return await this.httpClient.get<models.SoarCollection<models.SoarActionRun>>("action_run", {params: {"pretty": true, "page_size": 0, "sort": "create_time", "order": "desc"}})
return await this.httpClient.get<models.SoarCollection<models.SoarActionRun>>("action_run", {params: {"pretty": true, "page_size": 100, "sort": "create_time", "order": "desc"}})
}

listUserActionRuns = async() => {
return await this.httpClient.get<models.SoarCollection<models.SoarActionRun>>("action_run", {params: {"pretty": true, "page_size": 0, "sort": "create_time", "order": "desc", "_filter_owner__username": `'${this.username}'`}})
return await this.httpClient.get<models.SoarCollection<models.SoarActionRun>>("action_run", {params: {"pretty": true, "page_size": 100, "sort": "create_time", "order": "desc", "_filter_owner__username": `'${this.username}'`}})
}

getLastUserActionRun = async() => {
Expand Down

0 comments on commit c5b59fb

Please sign in to comment.