Skip to content

Commit cf30b15

Browse files
committed
upgrade to Scout v10 & Meilisearch v1
1 parent 8662d3a commit cf30b15

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
"require": {
2222
"php": "^8.0|^8.1|^8.2",
2323
"illuminate/console": "^9.0|^10.0",
24-
"laravel/scout": "^9.0",
25-
"meilisearch/meilisearch-php": "^0.26"
24+
"laravel/scout": "^10.0",
25+
"meilisearch/meilisearch-php": "^1.0"
2626
},
2727
"require-dev": {
2828
"guzzlehttp/guzzle": "^7.1",

src/Commands/ScoutKeyCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ protected function getDataOptionsFromKeyCreate($originalOptions, array &$options
179179

180180
$options['indexes'] = explode(',', $this->askWithCompletionList(
181181
'Comma separated list of indexes the key is authorized to act on',
182-
array_column($this->searchEngine->getAllRawIndexes()['results'] ?? [], 'uid'),
182+
array_column($this->searchEngine->getIndexes()['results'] ?? [], 'uid'),
183183
implode(',', $originalOptions['indexes'] ?? ['*'])
184184
));
185185

0 commit comments

Comments
 (0)