mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 17:20:49 +00:00
Remove old reqwest osu api v1
This commit is contained in:
parent
07928671e2
commit
fef6516ae1
7 changed files with 3 additions and 475 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue