use the userId in the coaches action

This commit is contained in:
Andreas Zweili 2021-06-29 22:05:56 +02:00
parent 2de4dd1a5c
commit bdc654c30a
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
export default {
registerCoach(context, data) {
const coachData = {
id: 'c3',
id: context.rootGetters.userId,
firstName: data.first,
lastName: data.last,
description: data.desc,