Skip to content

Commit

Permalink
remove reference to index.json
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Nov 28, 2024
1 parent a5994ca commit 62293c9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/LiturgyOfTheDay.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,7 @@ private function sendMetadataReq(): void

$resultStatus = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($resultStatus !== 200) {
if ($resultStatus === 412) {
die("the index.json file simply doesn't exist yet");
} else {
die("Metadata request failed. HTTP status code: " . $resultStatus);
}
die("Metadata request failed. HTTP status code: " . $resultStatus);
}

$response = json_decode($result, true);
Expand Down

0 comments on commit 62293c9

Please sign in to comment.