Skip to content

Commit

Permalink
Fixed not returning objects, rather than documents
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Aug 30, 2021
1 parent 4b0ee01 commit 38415d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Tagger = {
resolve(options.objects.filter(obj => {
let tags = Tagger.getTags(obj);
return tags && Tagger._testTags(inTags, tags, options);
}));
}).map(obj => obj?._object ?? obj));

});
},
Expand Down

0 comments on commit 38415d8

Please sign in to comment.