fix(slack): pass account token for draft final chat.update
This commit is contained in:
parent
bec974aba9
commit
dfd5a79631
@ -123,6 +123,7 @@ export async function dispatchPreparedSlackMessage(prepared: PreparedSlackMessag
|
||||
draftStream?.stop();
|
||||
try {
|
||||
await ctx.app.client.chat.update({
|
||||
token: ctx.botToken,
|
||||
channel: draftChannelId,
|
||||
ts: draftMessageId,
|
||||
text: finalText.trim(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user