Skip to content

Commit

Permalink
fix: move to slack-sdk files_upload_v2 (apache#28423)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored and jzhao62 committed May 16, 2024
1 parent 17965e9 commit 87c9e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/tasks/slack_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def deliver_slack_msg(
if file:
response = cast(
SlackResponse,
client.files_upload(
client.files_upload_v2(
channels=slack_channel, file=file, initial_comment=body, title=subject
),
)
Expand Down

0 comments on commit 87c9e3b

Please sign in to comment.