There was an error while loading. Please reload this page.
1 parent 9ef9121 commit 705ae50Copy full SHA for 705ae50
packages/apify/src/actor.ts
@@ -834,12 +834,12 @@ export class Actor<Data extends Dictionary = Dictionary> {
834
...this.config
835
.getEventManager()
836
.listeners(EventType.PERSIST_STATE)
837
- .map(async (x) => x()),
+ .map(async (x) => (x as any)({})),
838
// `migrating` to pause Apify crawlers
839
840
841
.listeners(EventType.MIGRATING)
842
843
]);
844
845
const runId = this.config.get('actorRunId')!;
0 commit comments