action resolve commit payload, but fetch body+method

This commit is contained in:
2021-05-21 16:44:59 +02:00
parent 68ebd60bc8
commit c1e1f65715
2 changed files with 7 additions and 5 deletions

View File

@@ -150,7 +150,7 @@ const postResource = (id, payload, method) => {
*
*/
const postSocialIssue = (id, body, method) => {
console.log('body + method', body, method);
console.log('api body and method', body, method);
const url = `/api/1.0/person/accompanying-course/${id}/socialissue.json`;
return fetch(url, {
method: method,