This commit is contained in:
Miłosz Szewczak 2020-04-12 20:32:47 +02:00 committed by GitHub
parent 640db18ab6
commit 9aa75db1f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 } );
} }