mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
feat: Add token to sendAndWait operations links to walidate in webhook (#17566)
This commit is contained in:
@@ -163,7 +163,7 @@ export function createSendAndWaitMessageBody(context: IExecuteFunctions) {
|
||||
const config = getSendAndWaitConfig(context);
|
||||
|
||||
const buttons: string[] = config.options.map(
|
||||
(option) => `*<${`${config.url}?approved=${option.value}`}|${option.label}>*`,
|
||||
(option) => `*<${`${option.url}`}|${option.label}>*`,
|
||||
);
|
||||
|
||||
let text = `${config.message}\n\n\n${buttons.join(' ')}`;
|
||||
|
||||
Reference in New Issue
Block a user