From 80c15b03f336a79270998d672838089f52bb92c2 Mon Sep 17 00:00:00 2001 From: Nikolay Gagarinov Date: Mon, 6 Feb 2023 12:13:51 +0500 Subject: [PATCH] Update ExerciseService.php --- app/Services/ExerciseService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/ExerciseService.php b/app/Services/ExerciseService.php index 0439cb5f5..7d3641de8 100644 --- a/app/Services/ExerciseService.php +++ b/app/Services/ExerciseService.php @@ -47,7 +47,7 @@ public function check(User $user, Exercise $exercise, string $solutionCode): Che if ($exerciseMember->mayFinish()) { $exerciseMember->finish(); $exerciseMember->save(); - Log::info('finished'); + $this->activityService->logCompletedExercise($user, $exercise); } }