Playlists (#472)

* feat: add playlist resources

* style: fix StyleCI findings

* fix(admin): address nova exceptions
This commit is contained in:
paranarimasu authored and GitHub committed 2022-10-19 00:32:06 -05:00
1 parent 1f7505ac60
commit 517ba0ebf8
512 files changed
+11683 -2520

No files matched your search

@@ -20,14 +20,14 @@ class ScriptController extends Controller
/**
* Download dump.
*
* @param VideoScript $script
* @param VideoScript $videoscript
* @return StreamedResponse
*/
public function show(VideoScript $script): StreamedResponse
public function show(VideoScript $videoscript): StreamedResponse
{
/** @var FilesystemAdapter $fs */
$fs = Storage::disk(Config::get(VideoConstants::SCRIPT_DISK_QUALIFIED));
return $fs->download($script->path);
return $fs->download($videoscript->path);
}
}