We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca3fa64 + fdea1f8 commit 9b2ca21Copy full SHA for 9b2ca21
lib/cache/ObservableCollection.js
@@ -31,9 +31,7 @@ export default class ObservableCollection {
31
this.cursorDescription = cursorDescription;
32
33
this.collectionName = this.cursorDescription.collectionName;
34
- this.collection = Mongo.Collection.__getCollectionByName(
35
- cursorDescription.collectionName
36
- );
+ this.collection = Mongo.getCollection(cursorDescription.collectionName);
37
38
if (!this.collection) {
39
throw new Meteor.Error(
0 commit comments