From 3a2fd66959ac04c0b54c2e608f9729ca9a364771 Mon Sep 17 00:00:00 2001 From: Power BI Dev Date: Thu, 7 May 2026 23:43:40 +0700 Subject: [PATCH] Fix legacy tugas akhir API response output --- steven/API/getListTugasAkhir.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/steven/API/getListTugasAkhir.php b/steven/API/getListTugasAkhir.php index 41a4a2d..7895c00 100644 --- a/steven/API/getListTugasAkhir.php +++ b/steven/API/getListTugasAkhir.php @@ -63,7 +63,7 @@ try { .'tbjadwal.id AS sidang ' .'FROM tbrekaphasil ' .'LEFT JOIN tbmhs ON tbrekaphasil.nim = tbmhs.nim ' - ."LEFT JOIN tbjadwal ON tbmhs.idmhs = tbjadwal.idMhs AND tbjadwal.jenis = 'Sidang' AND tbjadwal.publish = 'Y'" + ." LEFT JOIN tbjadwal ON tbmhs.idmhs = tbjadwal.idMhs AND tbjadwal.jenis = 'Sidang' AND tbjadwal.publish = 'Y'" .$whereSql .' ORDER BY tbrekaphasil.tgl_kep DESC, tbrekaphasil.wkt_kep DESC, tbrekaphasil.id DESC'; @@ -96,11 +96,11 @@ try { ]; } - echo json_encode([ + echo json_encode(utf8ize([ 'status' => 1, 'data' => $data, 'msg' => 'ok', - ]); + ])); } catch (Exception $e) { http_response_code(500); echo json_encode([