mirror of
https://github.com/TwiN/gatus.git
synced 2025-02-17 18:51:15 +01:00
Remove useless newline
This commit is contained in:
parent
e6355dfee8
commit
ebcca4317d
@ -42,7 +42,6 @@ func (provider *AlertProvider) ToCustomAlertProvider(service *core.Service, aler
|
|||||||
} else {
|
} else {
|
||||||
text = fmt.Sprintf("⛑ *Gatus* \\n%s \\n*Condition results*\\n%s", message, results)
|
text = fmt.Sprintf("⛑ *Gatus* \\n%s \\n*Condition results*\\n%s", message, results)
|
||||||
}
|
}
|
||||||
|
|
||||||
return &custom.AlertProvider{
|
return &custom.AlertProvider{
|
||||||
URL: fmt.Sprintf("https://api.telegram.org/bot%s/sendMessage", provider.Token),
|
URL: fmt.Sprintf("https://api.telegram.org/bot%s/sendMessage", provider.Token),
|
||||||
Method: http.MethodPost,
|
Method: http.MethodPost,
|
||||||
|
Loading…
Reference in New Issue
Block a user