clarify error message wording

This commit is contained in:
Marcus Hill 2025-06-22 10:01:10 +01:00
parent 2ca50776ec
commit 500e713764
1 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ if (isset($_GET['ai_reword'])) {
echo json_encode(['rewordedText' => $cleanedContent]);
} else {
// Handle errors or unexpected response structure.
echo json_encode(['rewordedText' => 'Failed to get a response from the OpenAI API.']);
echo json_encode(['rewordedText' => 'Failed to get a response from the AI API.']);
}
}