formatting uptime kuma heartbeat

This commit is contained in:
Julian Graf 2023-08-01 19:40:59 +02:00
parent 85e5ddca67
commit 48f64d8382
1 changed files with 1 additions and 1 deletions

View File

@ -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)