summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2022-10-22 13:26:24 +0100
committerSam Light <samlight1994@gmail.com>2022-10-22 13:26:24 +0100
commitc4f4369249b9f6bfe0827af5b58fbae75b9a610f (patch)
tree046700269335664e53295a3f456eaeeea42f5cb5
parenta8a90010636448f6ee453bc828c1f732a31488cf (diff)
Set starting completion_status as not attempted when creating a ScormScoTrackingHEAD0.0.4master
-rw-r--r--src/Controllers/ScormPlayerController.php1
1 files changed, 1 insertions, 0 deletions
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;