From 7b2081c9e3f6a442a0a38f949c2d8173be4e6a57 Mon Sep 17 00:00:00 2001 From: Ahmad Afandi Date: Tue, 18 Aug 2026 09:22:31 +0700 Subject: [PATCH 1/2] perbaikan grafik tidak tampil --- .gitignore | 1 + app/Http/Controllers/DataPokokController.php | 2 +- app/Services/ApiProxyService.php | 2 ++ resources/views/data_pokok/kesehatan/chart.blade.php | 6 +++--- resources/views/data_pokok/kesehatan/index.blade.php | 4 ++-- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index f28956df3..14bb6985e 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ docs specs/ .opencode/ .specify/ +storage/sso diff --git a/app/Http/Controllers/DataPokokController.php b/app/Http/Controllers/DataPokokController.php index 3c814c3fa..e662b2433 100644 --- a/app/Http/Controllers/DataPokokController.php +++ b/app/Http/Controllers/DataPokokController.php @@ -27,7 +27,7 @@ public function cetak_agama(Request $request) public function kesehatan() { - $title = 'Data Kependudukan dan Statistik'; + $title = 'Data Kesehatan dan Statistik'; return view('data_pokok.kesehatan.index', ['title' => $title]); } diff --git a/app/Services/ApiProxyService.php b/app/Services/ApiProxyService.php index 6b04f5b57..ab85df843 100644 --- a/app/Services/ApiProxyService.php +++ b/app/Services/ApiProxyService.php @@ -146,6 +146,8 @@ protected function callApi(string $method, string $endpoint, array $params = [], } catch (\Exception $e) { Log::error('API Proxy: Exception', [ 'endpoint' => $endpoint, + 'url' => $url, + 'method' => $method, 'file' => __FILE__, 'error' => $e->getMessage(), ]); diff --git a/resources/views/data_pokok/kesehatan/chart.blade.php b/resources/views/data_pokok/kesehatan/chart.blade.php index 1ae76b25f..73bf41d25 100644 --- a/resources/views/data_pokok/kesehatan/chart.blade.php +++ b/resources/views/data_pokok/kesehatan/chart.blade.php @@ -1,8 +1,8 @@ @include('data_pokok.data_presisi.partials.chart')