nuxt-directus
nuxt-directus copied to clipboard
nuxt-directus-next - login, register readMe uses wrong URL
Version
nuxt-directus-next: 0.0.15
Steps to reproduce
login / register
await login(values.email, values.password, {
readMe: {
query: {
fields: [ "*.*" ],
},
},
});
What is actually happening?
calling the function as above results in http://localhost:8055/users/me?query= URL but it should be http://localhost:8055/users/me?fields=
Now I'm wondering why it worked in the first place.
But yes, it was being refactored from the ground up
The initial page load query from
directus: {
url: config.api.baseUrl,
moduleConfig: {
readMeQuery: {
fields: [ "*.*" ],
},
},
},
works btw