This commit is contained in:
afornerot 2024-04-15 13:46:02 +02:00
parent d9448ccfee
commit e2142caa49

View File

@ -337,7 +337,6 @@ class giteaService
$body = \Unirest\Request\Body::json($query);
$body=str_replace('"'.$toblock.'"',$toblock,$body);
$response=$this->api("POST",$apiurl,$body,$this->session->get("giteatoken"));
dump($response);
if(!$response||($response->code!="200"&&$response->code!="201")) return false;
else return $response->body;
}