System Information
- Strapi Version: 4.4.2
- Operating System: Ubuntu
- Database: MySQL
- Node Version: 14.19.3
- NPM Version: 6.14.17
- Yarn Version:
Hi truy to call a modified controller from other modified controller.
I try this:
await strapi.controller('api::soft-order.create')({data});
And this
await strapi.controller('api::soft-order.create', {data});
without any success. If I made this
await strapi.db.query(
api::soft-order.soft-order).create({data});
The order is created without pass by the extended endpoint.