Possible mistake in naming of reviewedBooksCache

I could be wrong on this, but I got lost trying to follow this.  Shouldn't the filter review to `reviewedBooksCache` and not `bookReviewsCache`. My apologies if not, guess I'm not understanding it.
This commit is contained in:
evolross 2017-12-27 16:46:30 -08:00 committed by GitHub
parent 8ee9a49235
commit 46b0f5f2a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,7 +114,7 @@ to send them an email about a new book, or a soap opera.
```js
const dramaticUsers = Meteor.users.createQuery({
$filters: {
'bookReviewsCache.type': 'Drama'
'reviewedBooksCache.type': 'Drama'
},
email: 1,
}).fetch();