Skip to content

Commit

Permalink
Merge 49c8d67 into fc8bf0a
Browse files Browse the repository at this point in the history
  • Loading branch information
mvertopoulos committed May 26, 2021
2 parents fc8bf0a + 49c8d67 commit 9868723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/include.js
Expand Up @@ -903,7 +903,7 @@ Inclusion.include = function(objects, include, options, cb) {
}
}
const targetId = obj[relation.keyFrom];
if (targetId) {
if (targetId != null) {
targetIds.push(targetId);
const targetIdStr = targetId.toString();
objTargetIdMap[targetIdStr] = objTargetIdMap[targetIdStr] || [];
Expand Down

0 comments on commit 9868723

Please sign in to comment.