|
|
@@ -6294,7 +6294,7 @@ impl<C: hyper::client::Connect>RepositoryApi for RepositoryApiClient<C> { |
|
|
|
Some(ref prefix) => format!("{} {}", prefix, key), |
|
|
|
None => key, |
|
|
|
}; |
|
|
|
auth_headers.insert("Sudo".to_owned(), val); |
|
|
|
//auth_headers.insert("Sudo".to_owned(), val); |
|
|
|
}; |
|
|
|
if let Some(ref apikey) = configuration.api_key { |
|
|
|
let key = apikey.key.clone(); |
|
|
@@ -6302,7 +6302,7 @@ impl<C: hyper::client::Connect>RepositoryApi for RepositoryApiClient<C> { |
|
|
|
Some(ref prefix) => format!("{} {}", prefix, key), |
|
|
|
None => key, |
|
|
|
}; |
|
|
|
auth_query.insert("sudo".to_owned(), val); |
|
|
|
//auth_query.insert("sudo".to_owned(), val); |
|
|
|
}; |
|
|
|
if let Some(ref apikey) = configuration.api_key { |
|
|
|
let key = apikey.key.clone(); |
|
|
@@ -6324,7 +6324,7 @@ impl<C: hyper::client::Connect>RepositoryApi for RepositoryApiClient<C> { |
|
|
|
query.finish() |
|
|
|
}; |
|
|
|
let uri_str = format!("{}/repos/{owner}/{repo}/releases?{}", configuration.base_path, query_string, owner=owner, repo=repo); |
|
|
|
|
|
|
|
//println!("Request URL {}", uri_str); |
|
|
|
// TODO(farcaller): handle error |
|
|
|
// if let Err(e) = uri { |
|
|
|
// return Box::new(futures::future::err(e)); |
|
|
|