mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
webhooks: Remove space from UptimeRobot.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
68c99511a2
commit
1d3520db12
@@ -1,4 +1,4 @@
|
||||
Receive Zulip notifications from Uptime Robot!
|
||||
Receive Zulip notifications from UptimeRobot!
|
||||
|
||||
1. {!create-stream.md!}
|
||||
|
||||
@@ -14,7 +14,7 @@ Receive Zulip notifications from Uptime Robot!
|
||||
notifications sent to. If you do not specify a `stream`, the bot will
|
||||
send notifications via PMs to the creator of the bot.
|
||||
|
||||
1. On Uptime Robot, go to **My Settings** and select **Add Alert Contact**.
|
||||
1. On UptimeRobot, go to **My Settings** and select **Add Alert Contact**.
|
||||
Set **Alert Contact Type** to **webhook**.
|
||||
|
||||
1. Set **Friendly Name** to a name of your choice, such as `Zulip`. Set **URL to notify** to the
|
||||
|
||||
@@ -30,7 +30,7 @@ It was down for 44 minutes and 37 seconds.
|
||||
|
||||
def test_uptimerobot_invalid_payload_with_missing_data(self) -> None:
|
||||
"""
|
||||
Tests if invalid uptime robot payloads are handled correctly
|
||||
Tests if invalid UptimeRobot payloads are handled correctly
|
||||
"""
|
||||
self.url = self.build_webhook_url()
|
||||
payload = self.get_body("uptimerobot_invalid_payload_with_missing_data")
|
||||
|
||||
@@ -13,10 +13,10 @@ from zerver.lib.webhooks.common import check_send_webhook_message
|
||||
from zerver.models import UserProfile
|
||||
|
||||
MISCONFIGURED_PAYLOAD_ERROR_MESSAGE = """
|
||||
Hi there! Your bot {bot_name} just received a Uptime Robot payload that is missing
|
||||
Hi there! Your bot {bot_name} just received a UptimeRobot payload that is missing
|
||||
some data that Zulip requires. This usually indicates a configuration issue
|
||||
in your Uptime Robot webhook settings. Please make sure that you set the required parameters
|
||||
when configuring the Uptime Robot webhook. Contact {support_email} if you
|
||||
in your UptimeRobot webhook settings. Please make sure that you set the required parameters
|
||||
when configuring the UptimeRobot webhook. Contact {support_email} if you
|
||||
need further help!
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user