diff --git a/app/Http/Controllers/SearchController.php b/app/Http/Controllers/SearchController.php index 245015e..e66e171 100644 --- a/app/Http/Controllers/SearchController.php +++ b/app/Http/Controllers/SearchController.php @@ -16,7 +16,7 @@ class SearchController extends Controller public function __construct() { $this->client = new Client([ - 'api_key' => 'xyz', + 'api_key' => env('TYPESENSE_API_KEY'), 'nodes' => [ [ 'host' => env('TYPESENSE_CONNECTION'),