diff --git a/post/ai.php b/post/ai.php index c0ffd1ef..b3b15ca1 100644 --- a/post/ai.php +++ b/post/ai.php @@ -110,7 +110,7 @@ if (isset($_GET['ai_ticket_summary'])) { curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'Content-Type: application/json', - 'Authorization: Bearer ' . $config_ai_api_key, + 'Authorization: Bearer ' . $config_ai_api_key ]); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($post_data)); @@ -126,4 +126,4 @@ if (isset($_GET['ai_ticket_summary'])) { // Print the summary echo nl2br(htmlentities($summary)); -} +} \ No newline at end of file diff --git a/ticket.php b/ticket.php index 4e96277e..e080c662 100644 --- a/ticket.php +++ b/ticket.php @@ -379,9 +379,9 @@ if (isset($_GET['ticket_id'])) {