Skip to content

Commit

Permalink
Merge pull request #296 from matematikk-mooc/stage
Browse files Browse the repository at this point in the history
Stage
  • Loading branch information
manilpit authored Jan 12, 2024
2 parents 57a8de5 + 8daa98b commit 058d30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/DiplomaService.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private function findLastModuleNo($modules) {
}

private function storeDiplomaCompletionForUser($userId, $courseId) {
\App\Diploma::updateOrCreate(['user_id' => $userId],['course_id' => $courseId]);
\App\Models\Diploma::updateOrCreate(['user_id' => $userId],['course_id' => $courseId]);
}

public function hasDeservedDiploma($settings) {
Expand Down

0 comments on commit 058d30f

Please sign in to comment.