There was an error while loading. Please reload this page.
2 parents 96b0b49 + af85976 commit d450f39Copy full SHA for d450f39
1 file changed
src/notifications/notify_and_log.rs
@@ -234,6 +234,7 @@ fn send_remote_notification(
234
let Ok(response) = client
235
.post(remote_notifications.url())
236
.header("User-agent", format!("{SNIFFNET_LOWERCASE}-{APP_VERSION}"))
237
+ .header("Content-Type", "application/json")
238
.body(notification.to_json())
239
.send()
240
.await
0 commit comments