Skip to content

Commit

Permalink
Update CourseFactory.php
Browse files Browse the repository at this point in the history
  • Loading branch information
qunabu authored Mar 25, 2024
1 parent f24849a commit ccf82ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/factories/CourseFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function configure()
$filename_video = "course/$id/" . $word . ".mp4";
$filename_poster = "course/$id/" . $word . "poster.jpg";

Storage::putFileAs("course/{$id}", new File(__DIR__ . '/../mocks/1.jpg'), filename_image);
Storage::putFileAs("course/{$id}", new File(__DIR__ . '/../mocks/1.jpg'), $filename_image);
Storage::putFileAs("course/{$id}", new File(__DIR__ . '/../mocks/1.mp4'), $filename_video);
Storage::putFileAs("course/{$id}", new File(__DIR__ . '/../mocks/poster.jpg'), $filename_poster);

Expand Down

0 comments on commit ccf82ff

Please sign in to comment.