diff --git a/api/suggest/model.go b/api/suggest/model.go index db170e7..619e2e7 100644 --- a/api/suggest/model.go +++ b/api/suggest/model.go @@ -42,6 +42,7 @@ type ( RequestParams struct { Query string `json:"query"` // user input for suggestion Count int `json:"count"` // ligmit for results + Language string `json:"language"` Locations []*RequestParamsLocation `json:"locations"` RestrictValue bool `json:"restrict_value"` // don't show restricts (region) on results