mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 18:30:13 +01:00
Add idMemberCreator to Trello attachment
We need this field to attribute attachment to the user who uploaded it
This commit is contained in:
parent
6ff0cf91e2
commit
bc4ea6fd9a
1 changed files with 2 additions and 0 deletions
|
|
@ -456,6 +456,8 @@ export class TrelloCreator {
|
||||||
// In that case Trello still reports its addition, but removes its 'url' field.
|
// In that case Trello still reports its addition, but removes its 'url' field.
|
||||||
// So we test for that
|
// So we test for that
|
||||||
const trelloAttachment = action.data.attachment;
|
const trelloAttachment = action.data.attachment;
|
||||||
|
// We need the idMemberCreator
|
||||||
|
trelloAttachment.idMemberCreator = action.idMemberCreator;
|
||||||
if(trelloAttachment.url) {
|
if(trelloAttachment.url) {
|
||||||
// we cannot actually create the Wekan attachment, because we don't yet
|
// we cannot actually create the Wekan attachment, because we don't yet
|
||||||
// have the cards to attach it to, so we store it in the instance variable.
|
// have the cards to attach it to, so we store it in the instance variable.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue