Pārlūkot izejas kodu

fixup! Ref: Avatars to use modern gridfs

David Arnold 4 gadi atpakaļ
vecāks
revīzija
075a9016d4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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');
 const avatarsBucket = createBucket('avatars');
 
 
-export const Avatars = new FilesCollection({
+const Avatars = new FilesCollection({
   debug: false, // Change to `true` for debugging
   debug: false, // Change to `true` for debugging
   collectionName: 'avatars',
   collectionName: 'avatars',
   allowClientCode: false,
   allowClientCode: false,