From c4f4369249b9f6bfe0827af5b58fbae75b9a610f Mon Sep 17 00:00:00 2001 From: Sam Light Date: Sat, 22 Oct 2022 13:26:24 +0100 Subject: Set starting completion_status as not attempted when creating a ScormScoTracking --- src/Controllers/ScormPlayerController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Controllers/ScormPlayerController.php b/src/Controllers/ScormPlayerController.php index e7f3971..3243962 100644 --- a/src/Controllers/ScormPlayerController.php +++ b/src/Controllers/ScormPlayerController.php @@ -75,6 +75,7 @@ class ScormPlayerController extends Controller $tracking = new ScormScoTracking([ 'uuid' => Str::uuid(), 'progression' => 0, + 'completion_status' => 'not attempted', ]); $tracking->user()->associate($user); $tracking->sco_id = $sco->id; -- cgit v1.2.3