Skip to content

Commit

Permalink
fix missing query_id
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Mar 13, 2022
1 parent 789a2cf commit 1711e29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ func NewClient(apiKey string) (*Client, error) {

type Response struct {
Placekey string `json:"placekey"`
Message string `json:"message"`
QueryID string `json:"query_id"` // filed default value is `"0"`
Message string `json:"message"` // message for error response
}

type getPlacekeyFromGeoRequestParam struct {
Expand Down

0 comments on commit 1711e29

Please sign in to comment.