Fix some issues with Slack-Node

This commit is contained in:
Jan Oberhauser
2020-03-15 15:51:49 +01:00
parent 150aa7daee
commit ff7f0a5de5
9 changed files with 126 additions and 54 deletions

View File

@@ -234,7 +234,10 @@ export const channelFields = [
{
displayName: 'User ID',
name: 'userId',
type: 'string',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
default: '',
displayOptions: {
show: {
@@ -321,9 +324,12 @@ export const channelFields = [
description: 'The name of the channel to create.',
},
{
displayName: 'User ID',
displayName: 'User',
name: 'userId',
type: 'string',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
displayOptions: {
show: {
operation: [