feat: Add token to sendAndWait operations links to walidate in webhook (#17566)

This commit is contained in:
Michael Kret
2025-08-06 17:28:50 +03:00
committed by GitHub
parent 6495e08c79
commit 9cb5754f33
30 changed files with 277 additions and 92 deletions

View File

@@ -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(' ')}`;