From d667014400d8f33d0c28f8dc2c1cf9cbfe5dc6ae Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Mon, 25 Nov 2024 19:40:31 +0000 Subject: [PATCH] dbg: excessive logginggg --- src/lib.rs | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) 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);