Skip to content

Commit

Permalink
πŸš‘ Fix broken supplier_config reference (#29)
Browse files Browse the repository at this point in the history
Fix broken supplier_config
  • Loading branch information
Jacob Woffenden authored Apr 11, 2024
1 parent 9d24e92 commit 39ec4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/var/task/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def handler(event, context): # pylint: disable=unused-argument
)

# Slack Technical Contact
if supplier_config[2]:
if supplier_config["slack_channel"]:
send_slack(
slack_channel=supplier_config["slack_channel"],
message=f"A file uploaded by `{supplier}` has been quarantined.\n β€’ `{file_name}`",
Expand Down

0 comments on commit 39ec4e7

Please sign in to comment.