mirror of
https://github.com/strapi/strapi.git
synced 2025-07-31 21:09:39 +00:00
8 lines
222 B
JavaScript
8 lines
222 B
JavaScript
'use strict';
|
|
|
|
module.exports = ({ strapi }) => ({
|
|
buildDynamicZoneResolver: ({ contentTypeUID, attributeName }) => async parent => {
|
|
return strapi.entityService.load(contentTypeUID, parent, attributeName);
|
|
},
|
|
});
|