Skip to content

Commit

Permalink
fix: fixed correct consistency field
Browse files Browse the repository at this point in the history
  • Loading branch information
henomis committed Jun 21, 2023
1 parent bc26ba3 commit 3095223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request/pointSearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (p *PointSearch) Path() (string, error) {
path := fmt.Sprintf("/collections/%s/points/search", p.CollectionName)

urlValues := restclientgo.NewURLValues()
urlValues.Add("ordering", (*string)(p.Consistency))
urlValues.Add("consistency", (*string)(p.Consistency))

urlValuesEncoded := urlValues.Encode()
if urlValuesEncoded != "" {
Expand Down

0 comments on commit 3095223

Please sign in to comment.