Fix wrong rebase

This commit is contained in:
Kamal Bennani 2018-11-18 23:56:02 +01:00
parent da5ca2a125
commit 85eeb4aef2
No known key found for this signature in database
GPG Key ID: 4513063CDB1A1C25
2 changed files with 4 additions and 4 deletions

View File

@ -398,11 +398,11 @@ module.exports = {
queryOpts.skip = convertedParams.start;
switch (association.nature) {
case 'manyToMany': {
case "manyToMany":
const arrayOfIds = (obj[association.alias] || []).map(
related => {
return related[ref.primaryKey] || related;
},
}
);
// Where.