Skip to content

Commit

Permalink
fix files_upload_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Jun 5, 2024
1 parent f75862e commit 5c41274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ def conversation(say: Say, thread_ts, content, channel, user, client_msg_id):

if image:
# Send the image to Slack
app.client.files_upload(
app.client.files_upload_v2(
channels=channel,
file=io.BytesIO(image),
title="Generated Image",
Expand Down

0 comments on commit 5c41274

Please sign in to comment.