Skip to content

Commit

Permalink
refactor Kasbon view model
Browse files Browse the repository at this point in the history
  • Loading branch information
GesangPJ committed Jun 12, 2024
1 parent 1c0f4b8 commit 2209eed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/Models/Kasbonview.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ public function getKasbonData(Request $request)
$kasbonData = Kasbonview::whereMonth('updated_at', $month)
->whereYear('updated_at', $year)
->get();

return response()->json($kasbonData); // Ensure this returns JSON
return response()->json($kasbonData);
}


}

0 comments on commit 2209eed

Please sign in to comment.