refacto delete comments (#77)

This commit is contained in:
Arnaud D. Natali 2023-09-22 09:43:47 +02:00 committed by GitHub
commit 35eb6f22b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,7 +230,7 @@ export default class IdNotService extends BaseService {
office_status: this.getOfficeStatus(userData.entite.statutEntite.name), office_status: this.getOfficeStatus(userData.entite.statutEntite.name),
address: { address: {
address: officeLocationData.result[0]!.adrGeo4, address: officeLocationData.result[0]!.adrGeo4,
city: officeLocationData.result[0]!.adrGeoVille.split(" ")[0] ?? officeLocationData.result[0]!.adrGeoVille, //officeLocationData.result[0]!.adrPostaleVille, city: officeLocationData.result[0]!.adrGeoVille.split(" ")[0] ?? officeLocationData.result[0]!.adrGeoVille,
zip_code: Number(officeLocationData.result[0]!.adrGeoCodePostal), zip_code: Number(officeLocationData.result[0]!.adrGeoCodePostal),
created_at: null, created_at: null,
updated_at: null, updated_at: null,