v2 #2
1 changed files with 4 additions and 1 deletions
fix: getCacheEntry url parameters
commit
a50d6cb49c
|
|
@ -183,7 +183,10 @@ impl Client {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_cache_entry(&self, key: &CacheKey) -> Result<Option<String>> {
|
fn get_cache_entry(&self, key: &CacheKey) -> Result<Option<String>> {
|
||||||
let uri = format!("{}_apis/artifactcache/cache/{}", self.base_url, key.0);
|
let uri = format!(
|
||||||
|
"{}_apis/artifactcache/cache/keys={}&version=0",
|
||||||
|
self.base_url, key.0
|
||||||
|
);
|
||||||
let request = Request::builder()
|
let request = Request::builder()
|
||||||
.uri(uri)
|
.uri(uri)
|
||||||
.method(Method::GET)
|
.method(Method::GET)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue