0π
I had to wrap my query this way:
query Auth($login: String!, $password: String!) {
auth (login: $login, password: $password)
}
When youβre using params with your Query, you always have to wrap it this way.
- [Vuejs]-How to get url from :href in vue and axios?
- [Vuejs]-Issue data-binding in conditional rendering (Vue.js)
Source:stackexchange.com