diff options
Diffstat (limited to 'query.go')
-rw-r--r-- | query.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/query.go b/query.go index ac46223..63e203c 100644 --- a/query.go +++ b/query.go @@ -109,9 +109,6 @@ func apiEndpointQuery(w http.ResponseWriter, r *http.Request) error { w.Header().Set("Content-Type", txtutf8) _, err = w.Write(data) - if err != nil { - return err - } - return nil + return err } |