Skip to content

Commit

Permalink
fixes #1987
Browse files Browse the repository at this point in the history
  • Loading branch information
leontastic authored and koskimas committed Jan 30, 2021
1 parent e203915 commit ba1cd9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/model/modelSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function setRelated(model, relation, models) {
}
}

return this;
return model;
}

function appendRelated(model, relation, models) {
Expand All @@ -111,7 +111,7 @@ function appendRelated(model, relation, models) {
}
}

return this;
return model;
}

function ensureRelation(model, relation) {
Expand Down

0 comments on commit ba1cd9f

Please sign in to comment.