mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-11-11 16:48:48 +01:00
Playlists (#472)
* feat: add playlist resources * style: fix StyleCI findings * fix(admin): address nova exceptions
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user