bug: url not being set properly when reading from cache
This commit is contained in:
parent
a0865766b3
commit
d56a75b629
@ -33,8 +33,8 @@ class Repo{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function getLabelByName($name){
|
public function getLabelByName($name){
|
||||||
|
$url="repos/{$this->user}/{$this->repo}/labels";
|
||||||
if(!isset($this->cache['lables'])){
|
if(!isset($this->cache['lables'])){
|
||||||
$url="repos/{$this->user}/{$this->repo}/labels";
|
|
||||||
$this->cache['lables']=$this->client->request($url);
|
$this->cache['lables']=$this->client->request($url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user