From 0305790e698703681cce5134586b9d3642ad466d Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 1 Jan 2026 07:59:06 +0000 Subject: [PATCH] Fix: update health status model to use HEALTH_STATUS_LIST --- src/Appwrite/Platform/Modules/Health/Http/Health/Cache/Get.php | 2 +- src/Appwrite/Platform/Modules/Health/Http/Health/DB/Get.php | 2 +- src/Appwrite/Platform/Modules/Health/Http/Health/PubSub/Get.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/Platform/Modules/Health/Http/Health/Cache/Get.php b/src/Appwrite/Platform/Modules/Health/Http/Health/Cache/Get.php index 005846b5f7..bf7c3c4889 100644 --- a/src/Appwrite/Platform/Modules/Health/Http/Health/Cache/Get.php +++ b/src/Appwrite/Platform/Modules/Health/Http/Health/Cache/Get.php @@ -41,7 +41,7 @@ class Get extends Action responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, - model: Response::MODEL_HEALTH_STATUS, + model: Response::MODEL_HEALTH_STATUS_LIST, ) ], contentType: ContentType::JSON diff --git a/src/Appwrite/Platform/Modules/Health/Http/Health/DB/Get.php b/src/Appwrite/Platform/Modules/Health/Http/Health/DB/Get.php index abfd68d945..832ff73cb6 100644 --- a/src/Appwrite/Platform/Modules/Health/Http/Health/DB/Get.php +++ b/src/Appwrite/Platform/Modules/Health/Http/Health/DB/Get.php @@ -41,7 +41,7 @@ class Get extends Action responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, - model: Response::MODEL_HEALTH_STATUS, + model: Response::MODEL_HEALTH_STATUS_LIST, ) ], contentType: ContentType::JSON diff --git a/src/Appwrite/Platform/Modules/Health/Http/Health/PubSub/Get.php b/src/Appwrite/Platform/Modules/Health/Http/Health/PubSub/Get.php index 202f75d7c7..68cd36d1ba 100644 --- a/src/Appwrite/Platform/Modules/Health/Http/Health/PubSub/Get.php +++ b/src/Appwrite/Platform/Modules/Health/Http/Health/PubSub/Get.php @@ -41,7 +41,7 @@ class Get extends Action responses: [ new SDKResponse( code: Response::STATUS_CODE_OK, - model: Response::MODEL_HEALTH_STATUS, + model: Response::MODEL_HEALTH_STATUS_LIST, ) ], contentType: ContentType::JSON