diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js index 22c91b0ef..ca1a89aa9 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js @@ -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) => {