Pārlūkot izejas kodu

fixup! Ref: Avatars to use modern gridfs

David Arnold 5 gadi atpakaļ
vecāks
revīzija
c41335a967
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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,