From 496acbdd7f88ef157cdd080c7abd1f98eb1bf087 Mon Sep 17 00:00:00 2001 From: Emilien Devos <4016501+unixfox@users.noreply.github.com> Date: Sun, 21 Apr 2024 22:39:36 +0200 Subject: [PATCH] add comment for read only key --- src/instances.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/instances.cr b/src/instances.cr index bd496f1..0412dc9 100644 --- a/src/instances.cr +++ b/src/instances.cr @@ -35,6 +35,7 @@ spawn do client = HTTP::Client.new(URI.parse("https://updown.io/p/wqufo")) client.connect_timeout = 10.seconds client.read_timeout = 10.seconds + # Read only key for accessing the uptime checks response = JSON.parse(client.get("/api/checks?api-key=ro-52iHyp6LBqQq7rGp4N7p").body) monitors += response.as_a rescue ex