From 7ab616f6bcdb93817ba60fb6336b2bd23bd75bd8 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Tue, 14 Apr 2020 19:17:55 +0200 Subject: [PATCH] :zap: Small improvement to Mattermost-Node --- packages/nodes-base/nodes/Mattermost/GenericFunctions.ts | 4 ++-- packages/nodes-base/nodes/Mattermost/Mattermost.node.ts | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/nodes-base/nodes/Mattermost/GenericFunctions.ts b/packages/nodes-base/nodes/Mattermost/GenericFunctions.ts index ac712e1d66..329e3ae83b 100644 --- a/packages/nodes-base/nodes/Mattermost/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Mattermost/GenericFunctions.ts @@ -10,11 +10,11 @@ import { IDataObject } from 'n8n-workflow'; export interface IAttachment { fields: { item?: object[]; - }, + }; actions: { item?: object[]; }; -} +} /** * Make an API request to Telegram diff --git a/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts b/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts index 77d6b00f05..e9f81e7d8d 100644 --- a/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts +++ b/packages/nodes-base/nodes/Mattermost/Mattermost.node.ts @@ -522,6 +522,9 @@ export class Mattermost implements INodeType { data_source: [ 'custom' ], + type: [ + 'select' + ], }, }, default: {},