getLabels

This commit is contained in:
afornerot 2023-09-12 10:39:18 +02:00
parent 69bbd8b6a3
commit 795a212810
1 changed files with 1 additions and 1 deletions

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);