mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix property into json body with endpoint PATCH thirdparty
This commit is contained in:
parent
2f60ab4d17
commit
1eb8d04a32
@ -293,7 +293,7 @@ let initPromise = Promise.all([scopesPromise, accompanyingCoursePromise])
|
||||
body.name = payload.data.text;
|
||||
body.email = payload.data.email;
|
||||
body.telephone = payload.data.phonenumber;
|
||||
body.address = { address_id: payload.data.address.address_id };
|
||||
body.address = { id: payload.data.address.address_id };
|
||||
console.log('id', payload.data.id, 'and body', body);
|
||||
patchThirdparty(payload.data.id, body)
|
||||
.then(thirdparty => new Promise((resolve, reject) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user