fixup! Ref: Attachments to use modern gridfs (rm localstore)

pull/4336/head
David Arnold 5 years ago committed by Denis Perov
parent d0a27aaec2
commit 0254282daf
  1. 2
      models/attachments.js

@ -31,7 +31,7 @@ const insertActivity = (fileObj, activityType) =>
Attachments = new FilesCollection({
debug: false, // Change to `true` for debugging
collectionName: 'attachments',
allowClientCode: false,
allowClientCode: true,
onAfterUpload: function onAfterUpload(fileRef) {
createOnAfterUpload(attachmentBucket).call(this, fileRef);
// If the attachment doesn't have a source field

Loading…
Cancel
Save