Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/meilisearch/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ def delete_index(index_uid)
# @see Index
# @param index_uid [String] the uid of the index to get
# @return [Index]
def index(index_uid)
index_object(index_uid)
def index(index_uid, primary_key = nil)
index_object(index_uid, primary_key)
end

# Shorthand for
Expand Down
Loading