mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
add300
This commit is contained in:
parent
8c363d1144
commit
32c52b6ae8
|
@ -1042,6 +1042,7 @@ export class Mattermost implements INodeType {
|
|||
if (attaction.integration.item !== undefined) {
|
||||
//console.log('integration items');
|
||||
attaction.integration = attaction.integration.item;
|
||||
var tmpintegration = {};
|
||||
for (const attactioninteg of attaction.integration) {
|
||||
//console.log(attactioninteg);
|
||||
if (attactioninteg.context.property !== undefined) {
|
||||
|
@ -1054,7 +1055,10 @@ export class Mattermost implements INodeType {
|
|||
delete attactioninteg.context ;
|
||||
attactioninteg.context = tmpcontex ;
|
||||
}
|
||||
Object.assign(tmpintegration, attactioninteg);
|
||||
}
|
||||
delete attaction.integrations;
|
||||
attaction.integrations=tmpintegration;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue