diff --git a/src/client.js b/src/client.js index 6f67c19b..b0fafe26 100644 --- a/src/client.js +++ b/src/client.js @@ -68,7 +68,7 @@ export default class Client { config.core.setOutput("channel_id", response.channel); } if (response.message?.thread_ts) { - config.core.setOutput("thread_ts", response.message?.thread_ts); + config.core.setOutput("thread_ts", response.message.thread_ts); } if (response.ts) { config.core.setOutput("ts", response.ts);