浏览代码

fixup! Ref: Avatars to use modern gridfs

David Arnold 4 年之前
父节点
当前提交
075a9016d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/avatars.js

+ 1 - 1
models/avatars.js

@@ -7,7 +7,7 @@ import { createOnAfterRemove } from './lib/fsHooks/createOnAfterRemove';
 
 const avatarsBucket = createBucket('avatars');
 
-export const Avatars = new FilesCollection({
+const Avatars = new FilesCollection({
   debug: false, // Change to `true` for debugging
   collectionName: 'avatars',
   allowClientCode: false,