From f44831ffe51624ea0b4b7a949aba9e036d6f83a9 Mon Sep 17 00:00:00 2001 From: Marcos Date: Fri, 17 Mar 2017 19:06:27 +0100 Subject: [PATCH] Fixing json encode on QueryResponse Body struct --- query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query.go b/query.go index b25e532..732944c 100644 --- a/query.go +++ b/query.go @@ -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) {