From f20800bdabac651ee066372daf940fa228d3eb0e Mon Sep 17 00:00:00 2001 From: Etheroit <42714242+Etheroit@users.noreply.github.com> Date: Wed, 10 Jul 2024 17:28:16 +0000 Subject: [PATCH] Fix linter and remove unused header --- mantle/rbx_api/src/places/mod.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mantle/rbx_api/src/places/mod.rs b/mantle/rbx_api/src/places/mod.rs index 002d2d5..d79fcf4 100644 --- a/mantle/rbx_api/src/places/mod.rs +++ b/mantle/rbx_api/src/places/mod.rs @@ -2,7 +2,7 @@ pub mod models; use std::{fs, path::PathBuf}; -use reqwest::{header, Body, StatusCode}; +use reqwest::{Body, StatusCode}; use serde_json::json; use crate::{ @@ -154,7 +154,10 @@ impl RobloxApi { ) -> RobloxApiResult { let req = self .client - .post(format!("https://apis.roblox.com/universes/v1/user/universes/{}/places", experience_id)) + .post(format!( + "https://apis.roblox.com/universes/v1/user/universes/{}/places", + experience_id + )) .json(&json!({ "templatePlaceId": 95206881 }));