Move all third party api keys from database to .env file

This commit is contained in:
DariusIII
2020-03-01 22:00:36 +01:00
parent ca97416039
commit 14d492b668
11 changed files with 25 additions and 113 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ use App\Models\Settings;
use Blacklight\ColorCLI;
use Blacklight\libraries\FanartTV;
$fanart = new FanartTV(Settings::settingValue('APIs..fanarttvkey'));
$fanart = new FanartTV(config('nntmux_api.fanarttv_api_key'));
$colorCli = new ColorCLI();
if (! empty($argv[1])) {