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 9534e36 commit ecb480a
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 @@ -67,7 +67,7 @@ public function store(Request $request)

$failedStore = [];
$updatedCount = 0;
return json_decode($request->getContent());
return json_decode($request->getContent()) || "HA KOSONG";
$data = $this->service->insert(json_decode($request->getContent()), $rule, $date);
try {
if (!empty($data)) {
Expand Down

0 comments on commit ecb480a

Please sign in to comment.