Skip to content

Commit

Permalink
Update src/semaphore/worker/functions/send_message.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Sick <[email protected]>
  • Loading branch information
Fireye04 and jonathansick authored Apr 28, 2023
1 parent ee0c21d commit 2c6137a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/semaphore/worker/functions/send_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async def send_message(ctx: Dict[Any, Any], message: str) -> None:
logger.info("Running send_message")

logger = structlog.get_logger(__name__)
client = SlackWebhookClient(config.slack_webhook_url, "App Name", logger)
client = SlackWebhookClient(config.slack_webhook_url.get_secret_value(), "Semaphore", logger)

slack_message = SlackMessage(message=message)
await client.post(slack_message)

0 comments on commit 2c6137a

Please sign in to comment.