dbg: excessive logginggg
Some checks failed
On_Push / lint_fmt (push) Failing after 5s
On_Push / lint_clippy (push) Failing after 7s
On_Push / test (push) Successful in 9s
On_Push / build (push) Has been skipped

This commit is contained in:
silver 2024-11-25 19:40:31 +00:00
parent c88380067a
commit d667014400
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -223,27 +223,27 @@ impl Client {
Ok(x) => {
dbg!(&x);
dbg!(&x.text().await);
match x.json::<WolvesResultSingle<WolvesUserExists>>().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::<i64>() {
Ok(id) => {
return Some(id);
}
Err(e) => {
dbg!(e);
}
}
}
}
}
Err(e) => {
dbg!(e);
}
}
// match x.json::<WolvesResultSingle<WolvesUserExists>>().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::<i64>() {
// Ok(id) => {
// return Some(id);
// }
// Err(e) => {
// dbg!(e);
// }
// }
// }
// }
// }
// Err(e) => {
// dbg!(e);
// }
// }
}
Err(e) => {
dbg!(e);