mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +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) {
|
addParticipation({ commit }, payload) {
|
||||||
console.log('## action: fetch post participation: payload', payload.person.id);
|
console.log('## action: fetch post participation: payload', payload.id);
|
||||||
postParticipation(id, payload.person.id, 'POST')
|
postParticipation(id, payload.id, 'POST')
|
||||||
.then(participation => new Promise((resolve, reject) => {
|
.then(participation => new Promise((resolve, reject) => {
|
||||||
commit('addParticipation', { participation, payload });
|
commit('addParticipation', { participation, payload });
|
||||||
resolve();
|
resolve();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user