Skip to content

Commit

Permalink
fix return function pour renvoyer les données codeCommune, codeRegon …
Browse files Browse the repository at this point in the history
…etc..
  • Loading branch information
Ornella452 committed Sep 24, 2024
1 parent e4f9c2c commit 78b896c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/candidature-conseiller/useApiAdmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export const useApiAdmin = () => {
const codePostal = structureData.adresse.match(/\d{5}/)?.[0];
await handleInformationsVille(structureData, codePostal);
delete structureData.adresse;
return structureData;
};

const buildStructureData = async (formData, geoLocation) => {
Expand Down

0 comments on commit 78b896c

Please sign in to comment.