mirror of
https://github.com/strapi/strapi.git
synced 2025-09-18 13:02:18 +00:00
Remove out-of-context comment
This commit is contained in:
parent
8604c21e7b
commit
0f4cd98b3f
@ -39,7 +39,6 @@ const populate = traverseFactory()
|
|||||||
return visitedPopulate.filter((item) => !isNil(item));
|
return visitedPopulate.filter((item) => !isNil(item));
|
||||||
})
|
})
|
||||||
// Transform wildcard populate to an exhaustive list of attributes to populate.
|
// Transform wildcard populate to an exhaustive list of attributes to populate.
|
||||||
// Avoid populating attributes from the database that will be sanitized in the output anyway.
|
|
||||||
.intercept(isWildCardConstant, (visitor, options, _data, { recurse }) => {
|
.intercept(isWildCardConstant, (visitor, options, _data, { recurse }) => {
|
||||||
const attributes = options.schema?.attributes;
|
const attributes = options.schema?.attributes;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user