del dump
This commit is contained in:
parent
d9448ccfee
commit
e2142caa49
|
@ -337,7 +337,6 @@ class giteaService
|
||||||
$body = \Unirest\Request\Body::json($query);
|
$body = \Unirest\Request\Body::json($query);
|
||||||
$body=str_replace('"'.$toblock.'"',$toblock,$body);
|
$body=str_replace('"'.$toblock.'"',$toblock,$body);
|
||||||
$response=$this->api("POST",$apiurl,$body,$this->session->get("giteatoken"));
|
$response=$this->api("POST",$apiurl,$body,$this->session->get("giteatoken"));
|
||||||
dump($response);
|
|
||||||
if(!$response||($response->code!="200"&&$response->code!="201")) return false;
|
if(!$response||($response->code!="200"&&$response->code!="201")) return false;
|
||||||
else return $response->body;
|
else return $response->body;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue