mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
add128
This commit is contained in:
parent
640db18ab6
commit
9aa75db1f2
|
@ -633,7 +633,7 @@ export class Mattermost implements INodeType {
|
|||
default: {},
|
||||
options: [
|
||||
{
|
||||
name: 'conproperty',
|
||||
name: 'property',
|
||||
displayName: 'Property',
|
||||
default: {},
|
||||
values: [
|
||||
|
@ -1044,10 +1044,10 @@ export class Mattermost implements INodeType {
|
|||
attaction.integrations = attaction.integrations.item;
|
||||
for (const attactioninteg of attaction.integrations) {
|
||||
//console.log(attactioninteg);
|
||||
if (attactioninteg.context.conproperty !== undefined) {
|
||||
if (attactioninteg.context.property !== undefined) {
|
||||
//console.log('connnnnn');
|
||||
var tmpcontex = {};
|
||||
for (const attactionintegprop of attactioninteg.context.conproperty ) {
|
||||
for (const attactionintegprop of attactioninteg.context.property ) {
|
||||
// console.log(attactionintegprop);
|
||||
Object.assign(tmpcontex, { [attactionintegprop.name] : attactionintegprop.value } );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue