Fix: Dont update form when not using meilisearch
continuous-integration/drone/push Build is failing Details

This commit is contained in:
philipp lang 2024-12-12 00:50:05 +01:00
parent 1178b011e0
commit 70e085a49e
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ class UpdateParticipantSearchIndexAction
public function handle(Form $form): void
{
if (config('scout.driver') !== 'meilisearch') {
return;
}
$form->searchableUsing()->updateIndexSettings(
$form->participantsSearchableAs(),
[