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