bug: url not being set properly when reading from cache
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user