Skip to content

Commit

Permalink
Update TeacherApiController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ArdianS18 committed Nov 20, 2024
1 parent 9cda8c4 commit 1162673
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Http/Controllers/Api/TeacherApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public function teacher_attendance(User $user)
{
$employee = $this->employee->getByUser($user->id);
$todayAttendance = $this->attendance->userToday('App\Models\Employee', $employee->id);

$history_attendance = $this->attendance->whereUser($employee->id, 'App\Models\Employee');

return response()->json(['status' => 'success', 'message' => "Berhasil mengambil data",'code' => 200,
Expand Down

0 comments on commit 1162673

Please sign in to comment.