Skip to content

Commit e66ca8d

Browse files
authored
Update client.rb
1 parent 00ce6b0 commit e66ca8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/meilisearch/client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ def raw_indexes
1111
end
1212

1313
def indexes
14-
raw_indexes.map do |info|
15-
index_object(info['uid'], info['primaryKey'])
14+
raw_indexes.map do |index_hash|
15+
index_object(index_hash['uid'], index_hash['primaryKey'])
1616
end
1717
end
1818

0 commit comments

Comments
 (0)