From 21ee8bee061fd5a1f8cfab9c6f052c43a4c03780 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Sun, 23 Jul 2023 23:14:16 +0200 Subject: [PATCH] Fix --- src/bots/approved_bot/services/user_settings/mod.rs | 1 + 1 file changed, 1 insertion(+) 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()?;