diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js index 48cec2f86..74f18db10 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js @@ -78,8 +78,8 @@ let getDataPromise = getAccompanyingCourse(id) }); }, addParticipation({ commit }, payload) { - console.log('## action: fetch post participation: payload', payload.person.id); - postParticipation(id, payload.person.id, 'POST') + console.log('## action: fetch post participation: payload', payload.id); + postParticipation(id, payload.id, 'POST') .then(participation => new Promise((resolve, reject) => { commit('addParticipation', { participation, payload }); resolve();