fix(Slack Node): Fix Channel->Kick (#3365)

This commit is contained in:
Jan Oberhauser
2022-05-24 09:12:10 +02:00
committed by GitHub
parent 90a1bc120b
commit 0212d65dae
2 changed files with 2 additions and 1 deletions

View File

@@ -339,7 +339,7 @@ export class Slack implements INodeType {
const channel = this.getNodeParameter('channelId', i) as string;
const userId = this.getNodeParameter('userId', i) as string;
const body: IDataObject = {
name: channel,
channel,
user: userId,
};
responseData = await slackApiRequest.call(this, 'POST', '/conversations.kick', body, qs);