From ffacf1c8fc820de3890ba6231b644e9e4a65ce28 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Thu, 14 Apr 2022 13:06:54 -0400 Subject: FLAKE --- src/commands/osu.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/commands/osu.rs') diff --git a/src/commands/osu.rs b/src/commands/osu.rs index 8d91f56..5e0b563 100644 --- a/src/commands/osu.rs +++ b/src/commands/osu.rs @@ -18,6 +18,9 @@ struct OsuTokenRequest { pub scope: String, } +/// This is kinda loose, and we should really be caching the osu token +/// +/// Eh well, this *works* (sort of) async fn setup_reqwest() -> Result { let client_id = std::env::var("OSU_CLIENT_ID").unwrap(); let client_secret = std::env::var("OSU_CLIENT_SECRET").unwrap(); -- cgit v1.2.3