Corrected syntax
This commit is contained in:
parent
cd000594bc
commit
b5da264ce6
@ -33,14 +33,14 @@
|
||||
"accept: application/json",
|
||||
$giteaKey,
|
||||
"Content-Type: application/json"
|
||||
)
|
||||
);
|
||||
|
||||
// Prepare the request
|
||||
$issueData = array(
|
||||
'body' => $_POST["subject"],
|
||||
'title' => $_POST["detail"],
|
||||
'closed' => 'false'
|
||||
)
|
||||
);
|
||||
|
||||
// Prepare CURL
|
||||
$curlConnection = curl_init('https://git.fjla.uk/api/v1/repos/fred.boniface/athena.fb-infra.uk/issues');
|
||||
@ -92,7 +92,7 @@
|
||||
</form>
|
||||
|
||||
<p>You have submitted:</p>
|
||||
<p><?php echo $giteaResponse?>
|
||||
<p><?php echo $giteaResponse;?>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer>
|
||||
|
Reference in New Issue
Block a user