diff options
Diffstat (limited to 'models/wekanCreator.js')
-rw-r--r-- | models/wekanCreator.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/models/wekanCreator.js b/models/wekanCreator.js index d96ad2ca..3d0a2397 100644 --- a/models/wekanCreator.js +++ b/models/wekanCreator.js @@ -313,6 +313,9 @@ export class WekanCreator { file.boardId = boardId; file.cardId = cardId; file.userId = this._user(att.userId); + // The field source will only be used to prevent adding + // attachments' related activities automatically + file.source = 'import'; if (error) { throw(error); } else { @@ -332,6 +335,9 @@ export class WekanCreator { file.boardId = boardId; file.cardId = cardId; file.userId = this._user(att.userId); + // The field source will only be used to prevent adding + // attachments' related activities automatically + file.source = 'import'; if (error) { throw(error); } else { |