From d11cfb0950771660f395255cc9c5f2146e8195fd Mon Sep 17 00:00:00 2001 From: Guillaume Charest <1690085+gcharest@users.noreply.github.com> Date: Tue, 17 Sep 2024 20:21:31 +0000 Subject: [PATCH] feat: change icon for better visibilty --- app/server/server.py | 2 +- app/tests/server/test_server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/server/server.py b/app/server/server.py index 742368bf..f795d412 100644 --- a/app/server/server.py +++ b/app/server/server.py @@ -401,7 +401,7 @@ def handle_string_payload( case "UpptimePayload": # Temporary fix for Upptime payloads text = validated_payload.get("text", "") - header_text = "🟥 Web Application Down!" + header_text = "📈 Web Application Down!" blocks = [ {"type": "section", "text": {"type": "mrkdwn", "text": " "}}, { diff --git a/app/tests/server/test_server.py b/app/tests/server/test_server.py index e3af3c59..3e83c14c 100644 --- a/app/tests/server/test_server.py +++ b/app/tests/server/test_server.py @@ -298,7 +298,7 @@ def test_handle_string_payload_with_upptime_payload(validate_string_payload_type assert response.blocks == [ {"text": {"text": " ", "type": "mrkdwn"}, "type": "section"}, { - "text": {"text": "🟥 Web Application Down!", "type": "plain_text"}, + "text": {"text": "📈 Web Application Down!", "type": "plain_text"}, "type": "header", }, {