Explorar el Código

fixup! Ref: Avatars to use modern gridfs

David Arnold hace 4 años
padre
commit
eb747ef8e9
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      server/publications/avatars.js

+ 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;
 });