afterUpdate lifecycle does not trigger when unpublishing a collection type

import revalidate from "../../../../utilities/revalidate";

export default {
  afterUpdate(event) {
    const { data } = event.params;

    console.log("hello i will not trigger when unpublishing");

    // more logic
  },
};

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

Have you tried aftetUpdateMany