mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
enable fetch post/delete socialIssues
This commit is contained in:
@@ -180,13 +180,12 @@ let initPromise = getAccompanyingCourse(id)
|
||||
},
|
||||
updateSocialIssues({ commit }, { payload, body, method }) {
|
||||
//console.log('## action: payload', { payload, body, method });
|
||||
|
||||
//postSocialIssue(id, body, method)
|
||||
//.then(response => new Promise((resolve, reject) => {
|
||||
// console.log('response', response);
|
||||
postSocialIssue(id, body, method)
|
||||
.then(response => new Promise((resolve, reject) => {
|
||||
console.log('response', response);
|
||||
commit('updateSocialIssues', payload);
|
||||
// resolve();
|
||||
//})).catch((error) => { commit('catchError', error) });
|
||||
resolve();
|
||||
})).catch((error) => { commit('catchError', error) });
|
||||
},
|
||||
confirmAccompanyingCourse({ commit }) {
|
||||
//console.log('## action: confirmAccompanyingCourse');
|
||||
|
Reference in New Issue
Block a user