You have to return something, like this:
// strapi-server.js
module.exports = (plugin) => {
plugin.controllers.user.find = (ctx) => {
console.log('test');
};
return plugin;
};
You have to return something, like this:
// strapi-server.js
module.exports = (plugin) => {
plugin.controllers.user.find = (ctx) => {
console.log('test');
};
return plugin;
};