mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-04 05:14:33 +00:00
a couple more max_value -> MAX
This commit is contained in:
@@ -64,7 +64,7 @@ pub struct BlockprintResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl WatchBlockprintClient {
|
impl WatchBlockprintClient {
|
||||||
async fn get(&self, url: Url) -> Result<Response, Error> {
|
pub async fn get(&self, url: Url) -> Result<Response, Error> {
|
||||||
let mut builder = self.client.get(url).timeout(TIMEOUT);
|
let mut builder = self.client.get(url).timeout(TIMEOUT);
|
||||||
if let Some(username) = &self.username {
|
if let Some(username) = &self.username {
|
||||||
builder = builder.basic_auth(username, self.password.as_ref());
|
builder = builder.basic_auth(username, self.password.as_ref());
|
||||||
|
|||||||
Reference in New Issue
Block a user