Skip to content

Commit

Permalink
Slack webhook: send to #tech-notifications instead of #support
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Dec 7, 2023
1 parent 30aff14 commit cf5d5cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@
SLACK_WEBHOOK_C4_CHANNEL = env.str("SLACK_WEBHOOK_C4_CHANNEL", "set-it")
SLACK_WEBHOOK_C4_SUPPORT_CHANNEL = env.str("SLACK_WEBHOOK_C4_SUPPORT_CHANNEL", "set-it")
SLACK_WEBHOOK_C4_TENDER_CHANNEL = env.str("SLACK_WEBHOOK_C4_TENDER_CHANNEL", "set-it")
SLACK_WEBHOOK_C4_TECH_NOTIFICATIONS_CHANNEL = env.str("SLACK_WEBHOOK_C4_TECH_NOTIFICATIONS_CHANNEL", "set-it")

# API Marché APProch
MARCHE_APPROCH_TOKEN_RECETTE = env.str("MARCHE_APPROCH_TOKEN_RECETTE", "set-it")
Expand Down
2 changes: 1 addition & 1 deletion lemarche/utils/apis/api_slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def get_default_client(params={}):

@task()
def send_message_to_channel(
text: str, service_id: str = settings.SLACK_WEBHOOK_C4_SUPPORT_CHANNEL, client: requests.Session = None
text: str, service_id: str = settings.SLACK_WEBHOOK_C4_TECH_NOTIFICATIONS_CHANNEL, client: requests.Session = None
):
"""Huey task to send message to specific payload for specific slack service
Expand Down

0 comments on commit cf5d5cd

Please sign in to comment.