Browse Source

fixup! Ref: Avatars to use modern gridfs

David Arnold 4 năm trước cách đây
mục cha
commit
c41335a967
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      models/avatars.js

+ 1 - 1
models/avatars.js

@@ -10,7 +10,7 @@ if (Meteor.isServer) {
   avatarsBucket = createBucket('avatars');
 }
 
-const Avatars = new FilesCollection({
+Avatars = new FilesCollection({
   debug: false, // Change to `true` for debugging
   collectionName: 'avatars',
   allowClientCode: true,