Lifecycle not triggered

I am trying to use lifecycle for my module, but it do not work:

module.exports = {
  async afterFindMany(event) {
    const { data, where, select, populate } = event.params;
    console.log(event);
  },
  async afterUpdate() {
    console.log("Updated");
  },
};

path of lifecycles: src\api\order\content-types\order\lifecycles.js
Maybe i need to connect lifecycles somewhere?

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

может ты запускаешь код не в режиме разработки? вроде все ок

Спасибо, ошибка была в том что я был подключен к удаленной бд)