浏览代码

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,