fix: setup storage message shows when path has been setup

This commit is contained in:
Phan An 2024-03-28 09:53:47 +01:00
parent 140f06427c
commit 937e902972

View file

@ -85,8 +85,8 @@ class InitCommand extends Command
);
}
if (Setting::get('media_path')) {
$this->info('You can now set up the storage with `php artisan koel:storage`.');
if (!Setting::get('media_path')) {
$this->info('You can set up the storage with `php artisan koel:storage`.');
}
$this->info('Again, visit 📙 ' . config('koel.misc.docs_url') . ' for more tips and tweaks.');