Skip to content

Commit

Permalink
fix: move to slack-sdk files_upload_v2 (#28423)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch authored and github-actions[bot] committed Jun 10, 2024
1 parent 1194a27 commit 452d77d
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 452d77d

Please sign in to comment.