formatting uptime kuma heartbeat
This commit is contained in:
parent
85e5ddca67
commit
48f64d8382
|
@ -381,7 +381,7 @@ func (h MessageHandler) UptimeKumaWebHook(g *gin.Context) ginresp.HTTPResponse {
|
|||
}
|
||||
|
||||
if b.Heartbeat != nil {
|
||||
content += "===== Heartbeat ======"
|
||||
content += "===== Heartbeat ======\n"
|
||||
content += fmt.Sprintf("msg: %v\n", b.Heartbeat.Msg)
|
||||
content += fmt.Sprintf("timestamp: %v\n", b.Heartbeat.Time)
|
||||
content += fmt.Sprintf("timezone: %v\n", b.Heartbeat.Timezone)
|
||||
|
|
Loading…
Reference in New Issue