mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Meteor 1.6.0.1, Node 8.9.3, NPM 5.5.1, fibers 2.0.0
This commit is contained in:
parent
7963171058
commit
6622dbb56b
7 changed files with 82 additions and 70 deletions
|
|
@ -1,3 +1,5 @@
|
|||
try {
|
||||
|
||||
Attachments = new FS.Collection('attachments', {
|
||||
stores: [
|
||||
|
||||
|
|
@ -25,6 +27,8 @@ Attachments = new FS.Collection('attachments', {
|
|||
],
|
||||
});
|
||||
|
||||
} catch (err) { console.log(err); throw err; }
|
||||
|
||||
if (Meteor.isServer) {
|
||||
Attachments.allow({
|
||||
insert(userId, doc) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue