diff --git a/src/lib.rs b/src/lib.rs index 4e8e714..fc1ce9d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -223,27 +223,27 @@ impl Client { Ok(x) => { dbg!(&x); dbg!(&x.text().await); - match x.json::>().await { - Ok(y) => { - // this is the only time we will get a positive response, the None at the end catches everything else - match y.result { - WolvesUserExists::B(e) => {dbg!(e);} - WolvesUserExists::S(z) => { - match z.parse::() { - Ok(id) => { - return Some(id); - } - Err(e) => { - dbg!(e); - } - } - } - } - } - Err(e) => { - dbg!(e); - } - } + // match x.json::>().await { + // Ok(y) => { + // // this is the only time we will get a positive response, the None at the end catches everything else + // match y.result { + // WolvesUserExists::B(e) => {dbg!(e);} + // WolvesUserExists::S(z) => { + // match z.parse::() { + // Ok(id) => { + // return Some(id); + // } + // Err(e) => { + // dbg!(e); + // } + // } + // } + // } + // } + // Err(e) => { + // dbg!(e); + // } + // } } Err(e) => { dbg!(e);