This commit is contained in:
afornerot 2024-02-23 13:28:45 +01:00
parent cc200a9862
commit 11c6d4635f
2 changed files with 2 additions and 2 deletions

View File

@ -153,9 +153,9 @@ class ScrumissueController extends AbstractController
$repo=$this->giteaservice->getRepo($repoid);
$giteaissue=$this->giteaservice->getIssue($repoowner,$reponame,$issue->getGiteanumber());
$giteaissue->body = $this->giteaservice->markdown("/".$scrum->getGiteajson()["full_name"],"comment",$giteaissue->body);
$giteaissue->comments=$this->giteaservice->getIssueComments($repoowner,$reponame,$giteaissue->number);
$giteaissue->statuslife=$issue->getScrumcolumn()->getName();
$giteaissue->weight=$issue->getWeight();

View File

@ -103,7 +103,7 @@ class giteaService
$response=$this->api("POST",$apiurl,$body,$this->session->get("giteatoken"));
if(!$response||$response->code!="200") return false;
else {
$response->body= str_replace($this->giteaUrl,$this->giteaUrl.$context,$response->body);
//$response->body= str_replace($this->giteaUrl,$this->giteaUrl.$context,$response->body);
return $response->body;
}
}