Remove old debug messages
This commit is contained in:
parent
19b4238dca
commit
34e171ea39
|
@ -77,7 +77,6 @@ impl Profile {
|
||||||
.send());
|
.send());
|
||||||
|
|
||||||
if res.status != hyper::status::StatusCode::NoContent {
|
if res.status != hyper::status::StatusCode::NoContent {
|
||||||
println!("Rerefeshing");
|
|
||||||
// Refresh needed
|
// Refresh needed
|
||||||
let res = try!(client.post(REFRESH_URL)
|
let res = try!(client.post(REFRESH_URL)
|
||||||
.body(&req)
|
.body(&req)
|
||||||
|
@ -98,7 +97,6 @@ impl Profile {
|
||||||
access_token: ret.find("accessToken").and_then(|v| v.as_string()).unwrap().to_owned(),
|
access_token: ret.find("accessToken").and_then(|v| v.as_string()).unwrap().to_owned(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
println!("Reuse");
|
|
||||||
Ok(self)
|
Ok(self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue