2
0
Эх сурвалжийг харах

fixup! Ref: Avatars to use modern gridfs

David Arnold 4 жил өмнө
parent
commit
ef712a700e

+ 2 - 1
server/publications/avatars.js

@@ -1,3 +1,4 @@
+import Avatars from '../../models/avatars';
 Meteor.publish('my-avatars', function() {
-  return Avatars.find({ userId: this.userId });
+  return Avatars.find({ userId: this.userId }).cursor;
 });