Skip to content

Commit

Permalink
Revert the removal of file and file type parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Yuyutsu Rai <[email protected]>
  • Loading branch information
Yuyuutsu committed Dec 31, 2024
1 parent 367a51d commit ca5a567
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/slack_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,15 @@ def post_slack_notification(
response = client.files_upload_v2(
channel=slack_channel_id,
content=content,
filetype=file_type,
title=title,
initial_comment=initial_comment,
)

else:
response = client.files_upload_v2(
channel=slack_channel_id,
file=attachment_filename,
title=title,
initial_comment=initial_comment,
)
Expand Down

0 comments on commit ca5a567

Please sign in to comment.