Skip to content

Commit

Permalink
fix: bmi chart not show data
Browse files Browse the repository at this point in the history
  • Loading branch information
amrron committed Oct 22, 2024
1 parent b6c77d7 commit b6a3892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/BmiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function apichart() {

$nilai = [];
foreach($bmi as $bm) {
array_push($nilai, $bm->nilai);
array_push($nilai, $bm->bmi);
}
$value = $nilai;

Expand Down

0 comments on commit b6a3892

Please sign in to comment.