mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix payload error with add participation
This commit is contained in:
parent
e78d53064b
commit
b8e6e98a74
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user