Prechádzať zdrojové kódy

fixup! Ref: Avatars to use modern gridfs

David Arnold 4 rokov pred
rodič
commit
48cd554229
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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,