hasura / js-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Correction in Quickstart Documentation

kshitij0704 opened this issue · comments

@coco98
The example given for quickstart of the readme , the method used is hasura.login("password", onSuccess, onError) whic is not a defined method , it should be hasura.auth.login("password", onSuccess, onError) in the docs
screenshot from 2017-07-24 11-11-00
screenshot from 2017-07-24 11-17-28

@kshitij0704 already submited a PR for for it , hasura.auth.login works. It is mentioned in Auth.js also.
I guess only we both are using js sdk :)