mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
add150
This commit is contained in:
parent
8bc30b2ab4
commit
8c363d1144
|
@ -597,10 +597,10 @@ export class Mattermost implements INodeType {
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
displayName: 'Integrations',
|
displayName: 'Integration',
|
||||||
name: 'integrations',
|
name: 'integration',
|
||||||
placeholder: 'Add Integrations',
|
placeholder: 'Add Integration',
|
||||||
description: 'Integrations to add to message.',
|
description: 'Integration to add to message.',
|
||||||
type: 'fixedCollection',
|
type: 'fixedCollection',
|
||||||
typeOptions: {
|
typeOptions: {
|
||||||
multipleValues: true,
|
multipleValues: true,
|
||||||
|
@ -1039,10 +1039,10 @@ export class Mattermost implements INodeType {
|
||||||
if (Array.isArray(att.actions))
|
if (Array.isArray(att.actions))
|
||||||
for (const attaction of att.actions) {
|
for (const attaction of att.actions) {
|
||||||
//console.log(attaction);
|
//console.log(attaction);
|
||||||
if (attaction.integrations.item !== undefined) {
|
if (attaction.integration.item !== undefined) {
|
||||||
//console.log('integrations items');
|
//console.log('integration items');
|
||||||
attaction.integrations = attaction.integrations.item;
|
attaction.integration = attaction.integration.item;
|
||||||
for (const attactioninteg of attaction.integrations) {
|
for (const attactioninteg of attaction.integration) {
|
||||||
//console.log(attactioninteg);
|
//console.log(attactioninteg);
|
||||||
if (attactioninteg.context.property !== undefined) {
|
if (attactioninteg.context.property !== undefined) {
|
||||||
//console.log('connnnnn');
|
//console.log('connnnnn');
|
||||||
|
|
Loading…
Reference in a new issue