Corrected syntax

This commit is contained in:
Fred Boniface 2022-09-17 20:58:16 +01:00
parent cd000594bc
commit b5da264ce6
1 changed files with 3 additions and 3 deletions

View File

@ -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>