Documentation error

Posted by pcpshephertz:

Documentation at https://github.com/dgraph-io/dgraph4j#run-a-query contains error.
Instead of Response res = dgraphClient.newTransaction().query(query, vars);

it should be

Response res = dgraphClient.newTransaction().queryWithVars(query, vars);.

I will be happy to request a pull and commit if you verify my finding is correct.

peterstace commented :

@pcpshephertz , you’re correct. Please raise a PR :slight_smile:

deepakjois commented :

I believe it is fixed now.

pcpshephertz commented :

Yes, its fixed