Remove old reqwest osu api v1

This commit is contained in:
Natsu Kagami 2024-02-13 23:46:31 +01:00 committed by Natsu Kagami
parent 07928671e2
commit fef6516ae1
7 changed files with 3 additions and 475 deletions

View file

@ -74,8 +74,6 @@ pub async fn setup(
let mk_osu_client = || async {
Arc::new(
OsuHttpClient::new(
std::env::var("OSU_API_KEY").expect("Please set OSU_API_KEY as osu! api key."),
http_client.clone(),
std::env::var("OSU_API_CLIENT_ID")
.expect("Please set OSU_API_CLIENT_ID as osu! api v2 client ID.")
.parse()