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}"