Skip to content
Snippets Groups Projects
Commit d56ec522 authored by Ashwin's avatar Ashwin
Browse files

Resolved number of arguments in server/main.go

parent 2d29951f
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ func queryHandler(ps *store.Store) http.HandlerFunc {
}
glog.WithField("q", string(q)).Debug("Query received.")
gq, err := gql.Parse(string(q))
gq, _, err := gql.Parse(string(q))
if err != nil {
x.Err(glog, err).Error("While parsing query")
x.SetStatus(w, x.E_INVALID_REQUEST, err.Error())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment