File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Tailor the default depth to your needs by editing `config/plugins.js`
3838
3939```
4040module.exports = ({ env }) => ({
41- '@encoreskytech/ strapi-plugin-nested-populator': {
41+ 'strapi-plugin-nested-populator': {
4242 config: {
4343 defaultDepth: 4, // Default is 6
4444 }
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module.exports = ({ strapi }) => {
1313
1414 // Get the default depth from plugin config, fallback to 5 if undefined.
1515 const defaultDepth = strapi
16- . plugin ( '@encoreskytech/ strapi-plugin-nested-populator' )
16+ . plugin ( 'strapi-plugin-nested-populator' )
1717 ?. config ( 'defaultDepth' ) || 5 ;
1818
1919 // Apply population logic if 'nested' population is requested.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const extractModelAttributes = (model) => {
1111
1212const buildPopulateTree = ( modelUid , maxDepth = 20 , ignore = [ ] ) => {
1313 const skipCreatorFields = strapi
14- . plugin ( '@encoreskytech/ strapi-plugin-nested-populator' )
14+ . plugin ( 'strapi-plugin-nested-populator' )
1515 ?. config ( 'skipCreatorFields' ) ;
1616
1717 // Base conditions to terminate recursion.
Original file line number Diff line number Diff line change 11{
22 "name" : " @encoreskytech/strapi-plugin-nested-populator" ,
3- "version" : " 1.1 .0" ,
3+ "version" : " 1.2 .0" ,
44 "description" : " Strapi plugin that populates nested content structures via REST API" ,
55 "strapi" : {
6- "name" : " @encoreskytech/ strapi-plugin-nested-populator" ,
6+ "name" : " strapi-plugin-nested-populator" ,
77 "description" : " Api helper to populate nested content structures." ,
88 "kind" : " plugin"
99 },
You can’t perform that action at this time.
0 commit comments