Skip to content

Commit

Permalink
Fixing json encode on QueryResponse Body struct
Browse files Browse the repository at this point in the history
  • Loading branch information
marcossegovia committed Mar 17, 2017
1 parent 26283af commit f44831f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ type QueryResponse struct {
Language string `json:"lang"`
Result Result `json:"result"`
Status Status `json:"status"`
SessionId string `json:"SessionId"`
SessionId string `json:"sessionId"`
}

func (c *ApiClient) Query(q Query) (*QueryResponse, error) {
Expand Down

0 comments on commit f44831f

Please sign in to comment.