mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
remove useless code
This commit is contained in:
parent
3327196cce
commit
6c4039e3f1
@ -234,10 +234,6 @@ const convertPopulateObject = (populate, schema) => {
|
||||
};
|
||||
|
||||
const convertNestedPopulate = (subPopulate, schema) => {
|
||||
if (subPopulate === '*') {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (_.isString(subPopulate)) {
|
||||
return parseType({ type: 'boolean', value: subPopulate, forceCast: true });
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user