-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Id Parameter is always undefined #55
Comments
Hi Vadim, There is another property This should work: this.$store.dispatch('getUser', {
// params is available in the path function
params: {
id: 1
},
// optional data
data: {
//...
}
}) |
@Vad1mo I've updated my answer. |
thank you for the quick response, this works perfectly. The example would be a perfect candidate for the readme :) |
The Readme has definitely room for improvement. It's too long and lacks on examples. Feel free to PR. 👍 |
I have this action definition
And I am dispatching like this:
Try 1:
Try 2:
Try 3:
In all cases the id is undefined. IMHO it should have an id.
The text was updated successfully, but these errors were encountered: