2
0
Эх сурвалжийг харах

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

David Arnold 4 жил өмнө
parent
commit
9471eb327e
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      models/attachments.js

+ 1 - 1
models/attachments.js

@@ -28,7 +28,7 @@ const insertActivity = (fileObj, activityType) =>
 // XXX Enforce a schema for the Attachments FilesCollection
 // see: https://github.com/VeliovGroup/Meteor-Files/wiki/Schema
 
-const Attachments = new FilesCollection({
+Attachments = new FilesCollection({
   debug: false, // Change to `true` for debugging
   collectionName: 'attachments',
   allowClientCode: false,