mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 07:33:17 +00:00
Populate folder for media for findOne in CM
This commit is contained in:
parent
ccc854dfc8
commit
b307069465
@ -61,7 +61,7 @@ const getDeepPopulate = (uid, populate) => {
|
||||
}
|
||||
|
||||
if (attribute.type === 'media') {
|
||||
populateAcc[attributeName] = true;
|
||||
populateAcc[attributeName] = { populate: 'folder' };
|
||||
}
|
||||
|
||||
if (attribute.type === 'dynamiczone') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user