Skip to content

Commit f45dd03

Browse files
authored
fix: Rename option for new sortBy parameter (#711)
Renamed option for sortBy parameter from "lastRunStartedAt" to "stats.lastRunStartedAt" to fit the [TICKET](https://app.zenhub.com/workspaces/platform-team-5f6454160d9f82000fa6733f/issues/gh/apify/apify-core/20997) specifications. Will merge when the [apify-core PR](apify/apify-core#21731) is deployed
1 parent 25a31eb commit f45dd03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resource_clients/actor_collection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class ActorCollectionClient extends ResourceCollectionClient {
4747

4848
export enum ActorListSortBy {
4949
CREATED_AT = 'createdAt',
50-
LAST_RUN_STARTED_AT = 'lastRunStartedAt',
50+
LAST_RUN_STARTED_AT = 'stats.lastRunStartedAt',
5151
}
5252

5353
export interface ActorCollectionListOptions {

0 commit comments

Comments
 (0)