pushover message mime type fixed

This commit is contained in:
euzu
2025-01-25 19:31:18 +01:00
parent 1cfabd4bdf
commit f49bab0d41
+1 -1
View File
@@ -64,7 +64,7 @@ fn send_pushover_message(msg: &str, messaging: &MessagingConfig) {
let client = reqwest::Client::new();
match client
.post(url)
.header(header::CONTENT_TYPE, mime::APPLICATION_JSON.to_string())
.header(header::CONTENT_TYPE, mime::APPLICATION_WWW_FORM_URLENCODED.to_string())
.form(&params)
.send()
.await