From 1b463a9beb76420187e9bccd920e10bac78d9302 Mon Sep 17 00:00:00 2001 From: Prasad Ostwal Date: Mon, 3 Feb 2025 15:08:10 +0100 Subject: [PATCH] Update main.ts --- src/main.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 7cb1bad..202b5db 100644 --- a/src/main.ts +++ b/src/main.ts @@ -63,13 +63,15 @@ async function run(): Promise { } ] }) - + console.log('Response:', response) if (threaded_message && response.ts) { - await client.chat.postMessage({ + console.log('Sending threaded message') + const resp = await client.chat.postMessage({ channel: core.getInput('channel'), text: threaded_message, thread_ts: response.ts }) + console.log('Threaded message response:', resp) } }