From d7afe0df3ad671ad46c5947c34b702f48eff2031 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 24 Jun 2023 08:46:04 -0400 Subject: [PATCH] json data --- www-api/app/Controllers/WrenchFaq.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www-api/app/Controllers/WrenchFaq.php b/www-api/app/Controllers/WrenchFaq.php index 78cde196..f75753c3 100644 --- a/www-api/app/Controllers/WrenchFaq.php +++ b/www-api/app/Controllers/WrenchFaq.php @@ -13,7 +13,7 @@ class WrenchFaq extends BaseController public $con_name = 'wrench_blog'; public function apigate(){ - return $this->apiData(); + return json_encode( $this->apiData() ); } private function apiData() { /*