From 9b16f9a3fab09834b3545e5442e5e5e46b710e89 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Tue, 27 Aug 2024 18:50:58 +0100 Subject: [PATCH] correct uptime kuma msg --- norg/notifier/uptimekuma_notifier.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/norg/notifier/uptimekuma_notifier.nim b/norg/notifier/uptimekuma_notifier.nim index 751ef3d..257496e 100644 --- a/norg/notifier/uptimekuma_notifier.nim +++ b/norg/notifier/uptimekuma_notifier.nim @@ -14,7 +14,7 @@ proc send_notify*(uk: UptimeKuma, state: State, runtime: int = 0, msg: string = status = "up" else: status = "down" - var message = fmt"{status}" + var message = $state if msg != "": message &= fmt":{msg}" let url = fmt"{uk.base_url}?status={status}&msg={message}&ping={runtime}"