Skip to content

Commit

Permalink
Update examples/Sports-headline-analyzer/main.bal
Browse files Browse the repository at this point in the history
Co-authored-by: Nipuna Ransinghe  <[email protected]>
  • Loading branch information
KATTA-00 and NipunaRanasinghe authored Aug 14, 2024
1 parent 7a4a2b9 commit 3cc6f6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Sports-headline-analyzer/main.bal
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function main() returns error? {

finetunes:DeleteFileResponse deleteFileResponse =
check openAIFinetunes->/files/[trainingFileId].delete();
if (deleteFileResponse.deleted == true) {
if (deleteFileResponse.deleted) {
io:println("Training file deleted successfully.");
} else {
io:println("Failed to delete the training file.");
Expand Down

0 comments on commit 3cc6f6a

Please sign in to comment.