Bläddra i källkod

fixup! Ref: Avatars to use modern gridfs

David Arnold 4 år sedan
förälder
incheckning
c41335a967
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      models/avatars.js

+ 1 - 1
models/avatars.js

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