getLabels

This commit is contained in:
afornerot 2023-09-12 10:39:18 +02:00
parent 69bbd8b6a3
commit 795a212810

View File

@ -156,7 +156,7 @@ class giteaService
$apiurl = $this->url."/orgs/$owner/labels";
$response=$this->api("GET",$apiurl,null,$this->session->get("giteatoken"));
if(!$response||$response->code!="200") return false;
if(!$response||$response->code!="200") return $label01;
$label02=$response->body;
return array_merge($label01, $label02);