FIX [post] adjust vue components to allow thirdparty to be posted with new profession type as string

This commit is contained in:
2023-02-22 17:57:30 +01:00
committed by Julien Fastré
parent e50b02a8c7
commit e982e81900
3 changed files with 12 additions and 26 deletions

View File

@@ -178,7 +178,7 @@ export default {
body.civility = {type: 'chill_main_civility', id: payload.data.civility.id};
}
if (null !== payload.data.profession) {
body.profession = {type: 'third_party_profession', id: payload.data.profession.id};
body.profession = payload.data.profession;
}
// console.log('body', body);