fix the coachId on ContactCoach
This commit is contained in:
parent
e3d48145d3
commit
ab93dd6f6b
|
@ -41,7 +41,7 @@ export default {
|
||||||
this.$store.dispatch('requests/contactCoach', {
|
this.$store.dispatch('requests/contactCoach', {
|
||||||
email: this.email,
|
email: this.email,
|
||||||
message: this.message,
|
message: this.message,
|
||||||
coachId: this.$route.id
|
coachId: this.$route.params.id
|
||||||
});
|
});
|
||||||
this.$router.replace('/coaches');
|
this.$router.replace('/coaches');
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue