Skip to content

Commit

Permalink
fix(search) hits in search response are now marshalled as 'hits' (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
aayoubi authored Jan 17, 2023
1 parent f52f0d6 commit f4c0bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algolia/search/responses_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type QueryRes struct {
Extensions map[string]map[string]interface{} `json:"extensions"`
Facets map[string]map[string]int `json:"facets"`
FacetsStats map[string]FacetStat `json:"facets_stats"`
Hits []map[string]interface{} `json:"Hits"`
Hits []map[string]interface{} `json:"hits"`
HitsPerPage int `json:"hitsPerPage"`
Index string `json:"index"`
IndexUsed string `json:"indexUsed"`
Expand Down

0 comments on commit f4c0bfd

Please sign in to comment.