Skip to content

Commit

Permalink
seeder titles (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
qunabu authored Jun 28, 2021
1 parent 1720fea commit 0fe0628
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/seeders/ContentLibrarySeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ private function downloadAndSeed($lib, $addContent = false)
$h5p_upgrade_only = false;

if ($this->hh5pService->getValidator()->isValidPackage($skipContent, $h5p_upgrade_only)) {
$content['title'] = $lib;
$this->hh5pService->getStorage()->savePackage($content, null, $skipContent);
} else {
echo "Invalid package $filename \n";
Expand Down

0 comments on commit 0fe0628

Please sign in to comment.