sources api

This commit is contained in:
merdan 2022-09-29 19:12:27 +05:00
parent 7bea612e41
commit ff196eb5cd
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class UpdateMeilisearchIndex extends Command
*/
public function handle()
{
$client = new Client(config('scout.meilisearch.host'));
$client = new Client(env('MEILISEARCH_HOST','http://127.0.0.1:7700'),env('MEILISEARCH_KEY','Y0urVery-S3cureAp1K3y'));
$this->updateSortableAttributes($client);