remove get()

This commit is contained in:
bitfl0wer 2023-05-13 23:45:49 +02:00
parent 3fca30db35
commit 51ecf888b8
1 changed files with 0 additions and 12 deletions

View File

@ -67,16 +67,4 @@ impl<'a> types::Guild {
}
});
}
pub async fn get(
user: &mut types::User<'a>,
instance: &mut crate::instance::Instance,
id: String,
) {
let url = format!("{}/guilds/{}/", instance.urls.get_api().to_string(), id);
let limits_user = user.limits.get_as_mut();
let limits_instance = instance.limits.get_as_mut();
let request = reqwest::Client::new()
.get(url.clone())
.bearer_auth(user.token.clone());
}
}