diff --git a/drone-gotify.go b/drone-gotify.go index ed2c6f5..3990d59 100644 --- a/drone-gotify.go +++ b/drone-gotify.go @@ -11,7 +11,7 @@ func main() { token := os.Getenv("PLUGIN_GOTIFYTOKEN") endpoint := os.Getenv("PLUGIN_GOTIFYENDPOINT") title := os.Getenv("PLUGIN_GOTIFYTITLE") - message := os.Getenv("message") + message := os.Getenv("PLUGIN_MESSAGE") priority := os.Getenv("PLUGIN_GOTIFYPRIORITY") resp, err := http.PostForm(endpoint + "/message?token=" + token, url.Values{"message": {message}, "title": {title}, "priority": {priority}})