fix: Swap tag for resolved and triggered

This commit is contained in:
TwiN 2022-10-04 23:29:17 -04:00
parent 35038a63c4
commit 899c19b2d7

View File

@ -54,9 +54,9 @@ func (provider *AlertProvider) buildRequestBody(endpoint *core.Endpoint, alert *
message = endpoint.DisplayName()
}
if resolved {
tag = "x"
} else {
tag = "white_check_mark"
} else {
tag = "x"
}
return fmt.Sprintf(`{
"topic": "%s",