From 1bd8f57371865d3b47697847f887cbfc5f0bc5a1 Mon Sep 17 00:00:00 2001 From: DevSoftTech Server Date: Thu, 22 Oct 2026 15:22:27 +0530 Subject: [PATCH] fix: explicitly set HTTP 200 on live queue success response --- app/Controllers/Api/v1/DoctorApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Api/v1/DoctorApi.php b/app/Controllers/Api/v1/DoctorApi.php index 5f1ee26..3f84ef3 100644 --- a/app/Controllers/Api/v1/DoctorApi.php +++ b/app/Controllers/Api/v1/DoctorApi.php @@ -1343,7 +1343,7 @@ HTML; $hospNameRow = $db->table('hospital_setting')->select('s_value')->where('s_name', 'H_Name')->get(1)->getRowArray(); - return $this->response->setJSON([ + return $this->response->setStatusCode(200)->setJSON([ 'status' => 1, 'hospital_name' => !empty($hospNameRow['s_value']) ? $hospNameRow['s_value'] : 'E-Atria Multispeciality Hospital', 'server_time' => date('d-m-Y h:i:s A'),