Skip to content

Commit

Permalink
Fix channel reference in SlackChatApp class
Browse files Browse the repository at this point in the history
  • Loading branch information
StanGirard committed Apr 22, 2024
1 parent 422db14 commit 13f4773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def handle_iteractive_request(self, payload):
)
# Send sources as a separate message
self.app.client.chat_postMessage(
channel=body["event"]["channel"],
channel=payload["channel"]["id"],
text=f"*Sources:*\n{source_text}",
blocks=[
{
Expand Down

0 comments on commit 13f4773

Please sign in to comment.