Skip to content
Snippets Groups Projects
Commit cae30e37 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Change names

parent b75213e3
No related branches found
No related tags found
No related merge requests found
if UploadFS? if UploadFS?
fileCollection = new Mongo.Collection 'files' fileCollection = new Mongo.Collection 'rocketchat_uploads'
fileCollection.allow fileCollection.allow
insert: (userId, doc) -> insert: (userId, doc) ->
...@@ -13,7 +13,8 @@ if UploadFS? ...@@ -13,7 +13,8 @@ if UploadFS?
Meteor.fileStore = new UploadFS.store.GridFS Meteor.fileStore = new UploadFS.store.GridFS
collection: fileCollection collection: fileCollection
name: 'files' name: 'rocketchat_uploads'
collectionName: 'rocketchat_uploads'
filter: new UploadFS.Filter filter: new UploadFS.Filter
maxSize: 2097152 maxSize: 2097152
contentTypes: ['image/*', 'audio/*'] contentTypes: ['image/*', 'audio/*']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment