Strapi-plugin-scheduler weird behavior

So I have a “place” collection with an afterUpdate lifecycle hook that does some stuff

When I publish a place manually everything works perfectly

But when a place is published using the scheduler, the afterUpdate throws an error because it’s not getting the place data for some reason

Say I have a component called “contact” inside the place:

When the afterUpdate(event) is called, event.result.contact would return undefined if the hook is triggered through the scheduler, but it would return valid data when publishing manually

Any help would be appreciated please :pray:

This topic has been created from a Discord post (1269383560125612197) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Did you open a issue in its repository?