correct uptime kuma msg
This commit is contained in:
parent
53b68a1930
commit
9b16f9a3fa
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue