Skip to content

Commit 712e8c6

Browse files
committed
fix: add missing options parameter to Actor.setStatusMessage()
1 parent c6473ae commit 712e8c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/apify/src/actor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,8 +1176,8 @@ export class Actor<Data extends Dictionary = Dictionary> {
11761176
* @returns The return value is the Run object. When run locally, this method returns empty object (`{}`).
11771177
* For more information, see the [Actor Runs](https://docs.apify.com/api/v2#/reference/actor-runs/) API endpoints.
11781178
*/
1179-
static async setStatusMessage(statusMessage: string): Promise<ClientActorRun> {
1180-
return Actor.getDefaultInstance().setStatusMessage(statusMessage);
1179+
static async setStatusMessage(statusMessage: string, options?: SetStatusMessageOptions): Promise<ClientActorRun> {
1180+
return Actor.getDefaultInstance().setStatusMessage(statusMessage, options);
11811181
}
11821182

11831183
/**

0 commit comments

Comments
 (0)