Strapi v4 lifecycle hooks not triggered

For me the solution that worked was
/src/api/match/content-types/match/lifecycles.js

// Strapi object is injected globally
module.exports = {
  async afterCreate(event) {
    console.log("[Lifecycle][AfterCrete]", event);
  },
};

using Strapi “4.6.0”
F.