summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/trelloCreator.js1
-rw-r--r--models/wekanCreator.js2
2 files changed, 3 insertions, 0 deletions
diff --git a/models/trelloCreator.js b/models/trelloCreator.js
index 60207546..44030ea5 100644
--- a/models/trelloCreator.js
+++ b/models/trelloCreator.js
@@ -322,6 +322,7 @@ export class TrelloCreator {
file.attachData(att.url, function (error) {
file.boardId = boardId;
file.cardId = cardId;
+ file.userId = this._user(att.idMemberCreator);
if (error) {
throw(error);
} else {
diff --git a/models/wekanCreator.js b/models/wekanCreator.js
index 1a02339a..d96ad2ca 100644
--- a/models/wekanCreator.js
+++ b/models/wekanCreator.js
@@ -312,6 +312,7 @@ export class WekanCreator {
file.attachData(att.url, function (error) {
file.boardId = boardId;
file.cardId = cardId;
+ file.userId = this._user(att.userId);
if (error) {
throw(error);
} else {
@@ -330,6 +331,7 @@ export class WekanCreator {
file.name(att.name);
file.boardId = boardId;
file.cardId = cardId;
+ file.userId = this._user(att.userId);
if (error) {
throw(error);
} else {