mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Slack Node): Fix Channel->Kick (#3365)
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
|
||||
//https://api.slack.com/authentication/oauth-v2
|
||||
const userScopes = [
|
||||
'channels:write',
|
||||
'chat:write',
|
||||
'files:read',
|
||||
'files:write',
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user