From ab93dd6f6b5e65d6f0c9ccf7707713e9757342e8 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 28 Jul 2021 15:34:17 +0200 Subject: [PATCH] fix the coachId on ContactCoach --- src/pages/requests/ContactCoach.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/requests/ContactCoach.vue b/src/pages/requests/ContactCoach.vue index a705b8c..55a351a 100644 --- a/src/pages/requests/ContactCoach.vue +++ b/src/pages/requests/ContactCoach.vue @@ -41,7 +41,7 @@ export default { this.$store.dispatch('requests/contactCoach', { email: this.email, message: this.message, - coachId: this.$route.id + coachId: this.$route.params.id }); this.$router.replace('/coaches'); }