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

This commit is contained in:
David Arnold 2020-09-16 20:22:20 -05:00
parent ce2b83258a
commit e7d00a24ec
No known key found for this signature in database
GPG key ID: 6D6A936E69C59D08

View file

@ -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