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){
|
||||
if(!isset($this->cache['lables'])){
|
||||
$url="repos/{$this->user}/{$this->repo}/labels";
|
||||
if(!isset($this->cache['lables'])){
|
||||
$this->cache['lables']=$this->client->request($url);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user