Closed mingyuyuyu closed 1 year ago
By default APIs provided by plugins are not transformed. To opt-in to transform the API endpoints for this plugin you use the plugins property in the settings.
e.g.
module.exports = ({ env }) => ({
// ..
'transformer': {
enabled: true,
config: {
responseTransforms: {
removeAttributesKey: true,
removeDataKey: true,
},
plugins: {
ids: {
'menus': true,
}
}
}
},
// ..
});
to reqeust api for 'http://localhost:1337/api/menus?nested&populate=*' when i use strapi-plugin-menus,it still perseve attribute key,how to resolve it,help me。