From 43ae649f8b92c4252902900c3d3fbbf66008671c Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Thu, 14 Nov 2024 14:35:13 +0900 Subject: [PATCH] Update api.php --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 4381a1f..7d9e488 100644 --- a/api.php +++ b/api.php @@ -25,7 +25,7 @@ $results = fetch_search_results($opts, false); if (array_key_exists("error", $results)) { - http_response_code(418); // I'm a teapot + http_response_code(500); } header("Content-Type: application/json"); echo json_encode($results);