diff --git a/models/attachments.js b/models/attachments.js index a272a159b..13b40a887 100644 --- a/models/attachments.js +++ b/models/attachments.js @@ -25,7 +25,7 @@ const insertActivity = (fileObj, activityType) => // XXX Enforce a schema for the Attachments FilesCollection // see: https://github.com/VeliovGroup/Meteor-Files/wiki/Schema -export const Attachments = new FilesCollection({ +const Attachments = new FilesCollection({ debug: false, // Change to `true` for debugging collectionName: 'attachments', allowClientCode: false,