소스 검색

fixup! Ref: Avatars to use modern gridfs

David Arnold 4 년 전
부모
커밋
c41335a967
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,