Skip to content

Commit

Permalink
debug attendance
Browse files Browse the repository at this point in the history
  • Loading branch information
alfian8752 committed Jan 8, 2025
1 parent e3cde34 commit 66ec6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/AttendanceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function store(Request $request)
$failedStore = [];
$updatedCount = 0;
$data = $this->service->insert(json_decode($request->getContent()), $rule, $date);
return $data;
return json_decode($request->getContent());
try {
if (!empty($data)) {
foreach ($data->toArray() as $attendance) {
Expand Down

0 comments on commit 66ec6a1

Please sign in to comment.