From 0f91eaa0a0c9356ea71351aced3eea44532b96f5 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Tue, 15 Sep 2020 19:35:36 -0500 Subject: [PATCH] fixup! Ref: Avatars to use modern gridfs --- models/avatars.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/avatars.js b/models/avatars.js index b4c24ded8..7c5dc3bcc 100644 --- a/models/avatars.js +++ b/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,