Meteor-Community-Packages / meteor-collection-hooks

Meteor Collection Hooks
https://atmospherejs.com/matb33/collection-hooks
MIT License
657 stars 92 forks source link

Fix loop in before.find when retuning false #313

Closed rikvdlooi closed 2 months ago

rikvdlooi commented 2 months ago

Fix loop when returning false from before.find.

You would get in a loop because this code would do a .find(undefined), which would again execute the before.find.

StorytellerCZ commented 2 months ago

Going to publish this in a patch release and then merge that into the Meteor 3 branch.