Closed gahabeen closed 2 years ago
Just had this error. Changed it to const { locked } = await this.store.getValue('LOCKED') || {};
const { locked } = await this.store.getValue('LOCKED') || {};
https://github.com/metalwarrior665/apify-utils/blob/a70869baa28f59fc6cb18d06e700b7aa5453a341/src/state-persistence.js#L249
Let me know if you want a PR @metalwarrior665
Thanks, fixed
Just had this error. Changed it to
const { locked } = await this.store.getValue('LOCKED') || {};
https://github.com/metalwarrior665/apify-utils/blob/a70869baa28f59fc6cb18d06e700b7aa5453a341/src/state-persistence.js#L249
Let me know if you want a PR @metalwarrior665