소스 검색

fixup! Ref: Avatars to use modern gridfs

David Arnold 4 년 전
부모
커밋
0f91eaa0a0
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,