diff options
author | Romulus Urakagi Tsai <urakagi@gmail.com> | 2019-11-18 01:47:26 +0000 |
---|---|---|
committer | Romulus Urakagi Tsai <urakagi@gmail.com> | 2019-11-18 01:47:26 +0000 |
commit | 05c53ca01d71a01a608c9ae345475abd67c9939b (patch) | |
tree | a4ec2b021d87ece452709ff0b8dd3eaa794c44fd /server | |
parent | 9fd14f7ecb593d3debf5adff8f6c61adb0c3feca (diff) | |
download | wekan-05c53ca01d71a01a608c9ae345475abd67c9939b.tar.gz wekan-05c53ca01d71a01a608c9ae345475abd67c9939b.tar.bz2 wekan-05c53ca01d71a01a608c9ae345475abd67c9939b.zip |
Trying to upload an attachment with Meteor-Files
Diffstat (limited to 'server')
-rw-r--r-- | server/publications/boards.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/publications/boards.js b/server/publications/boards.js index e3095833..79e578b8 100644 --- a/server/publications/boards.js +++ b/server/publications/boards.js @@ -128,7 +128,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) { // Gather queries and send in bulk const cardComments = this.join(CardComments); cardComments.selector = _ids => ({ cardId: _ids }); - const attachments = this.join(Attachments); + const attachments = this.join(Attachments.collection); attachments.selector = _ids => ({ cardId: _ids }); const checklists = this.join(Checklists); checklists.selector = _ids => ({ cardId: _ids }); |