mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-25 01:02:29 +02:00
pushover message mime type fixed
This commit is contained in:
+1
-1
@@ -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(¶ms)
|
||||
.send()
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user