From b4fa6f30952c773eaf65cc1a5853976a66fa2999 Mon Sep 17 00:00:00 2001 From: JP Simard Date: Mon, 2 May 2022 10:47:55 -0400 Subject: [PATCH] Fix `bump_lyft_support_rotation.sh` posting to Slack Got this error when bumping this morning: ``` {"ok":false,"error":"channel_not_found","warning":"missing_charset","response_metadata":{"warnings":["missing_charset"]}} ``` Logs: https://github.com/envoyproxy/envoy-mobile/runs/6258460166?check_suite_focus=true Signed-off-by: JP Simard --- tools/bump_lyft_support_rotation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bump_lyft_support_rotation.sh b/tools/bump_lyft_support_rotation.sh index 062d165eaa..b53e7435c3 100755 --- a/tools/bump_lyft_support_rotation.sh +++ b/tools/bump_lyft_support_rotation.sh @@ -51,7 +51,7 @@ set_maintainer "$next" "$maintainers_file" message="Lyft support maintainer changing from to " echo "$message" -curl -H "Content-type: application/json" \ +curl -H "Content-type: application/json; charset=utf-8" \ --data "{\"channel\":\"C02F93EEJCE\",\"blocks\":[{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"$message\"}}]}" \ -H "Authorization: Bearer $SLACK_BOT_TOKEN" \ -X POST \