diff --git a/src/bots/approved_bot/services/user_settings/mod.rs b/src/bots/approved_bot/services/user_settings/mod.rs index fb7af3c..a322741 100644 --- a/src/bots/approved_bot/services/user_settings/mod.rs +++ b/src/bots/approved_bot/services/user_settings/mod.rs @@ -86,6 +86,7 @@ pub async fn create_or_update_user_settings( .post(format!("{}/users/", &config::CONFIG.user_settings_url)) .body(body.to_string()) .header("Authorization", &config::CONFIG.user_settings_api_key) + .header("Content-Type", "application/json") .send() .await? .error_for_status()?;