Skip to content
This repository was archived by the owner on Jul 31, 2018. It is now read-only.

Commit 7b9d5b2

Browse files
algoliareadmebotmaxiloc
authored andcommitted
Update README [skip ci]
1 parent d3c55e9 commit 7b9d5b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class Contact extends Model
168168
use AlgoliaEloquentTrait;
169169

170170
public $algoliaSettings = [
171-
'attributesToIndex' => [
171+
'searchableAttributes' => [
172172
'id',
173173
'name',
174174
],
@@ -507,7 +507,7 @@ class Contact extends Model
507507
use AlgoliaEloquentTrait;
508508

509509
public $algoliaSettings = [
510-
'attributesToIndex' => [
510+
'searchableAttributes' => [
511511
'id',
512512
'name',
513513
],

0 commit comments

Comments
 (0)