mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Fix typo
This commit is contained in:
parent
c0e808f82c
commit
23dd047f42
@ -166,7 +166,7 @@ module.exports = function (strapi) {
|
||||
}
|
||||
|
||||
// Images are not displayed in populated data.
|
||||
// We automaticaly populate morph relations.
|
||||
// We automatically populate morph relations.
|
||||
if (association.nature === 'oneToManyMorph' || association.nature === 'manyToManyMorph') {
|
||||
this._mongooseOptions.populate[association.alias] = {
|
||||
path: association.alias,
|
||||
@ -576,4 +576,4 @@ module.exports = function (strapi) {
|
||||
}, relations);
|
||||
|
||||
return hook;
|
||||
};
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user