mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Minor improvements to Slack:getPermalink
This commit is contained in:
@@ -798,8 +798,11 @@ export class Slack implements INodeType {
|
||||
//https://api.slack.com/methods/chat.getPermalink
|
||||
if (operation === 'getPermalink') {
|
||||
const channel = this.getNodeParameter('channelId', i) as string;
|
||||
const ts = this.getNodeParameter('messageTs', i) as string;
|
||||
const qs = { channel, message_ts: ts };
|
||||
const timestamp = this.getNodeParameter('timestamp', i) as string;
|
||||
const qs = {
|
||||
channel,
|
||||
message_ts: timestamp,
|
||||
};
|
||||
responseData = await slackApiRequest.call(this, 'GET', '/chat.getPermalink', {}, qs);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user