From 928bf58b85e49d493e9f462d0fbe55cac21b7b81 Mon Sep 17 00:00:00 2001
From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com>
Date: Fri, 5 Feb 2021 18:09:20 +0100
Subject: [PATCH] fix: aptic structure accountVerified

---
 src/structures/services/aptic-structures.service.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/structures/services/aptic-structures.service.ts b/src/structures/services/aptic-structures.service.ts
index f2bd9fdc2..854a83f04 100644
--- a/src/structures/services/aptic-structures.service.ts
+++ b/src/structures/services/aptic-structures.service.ts
@@ -53,6 +53,7 @@ export class ApticStructuresService {
         createdStructure.structureName = structure.presence_name;
         createdStructure.contactPhone = structure.presence_phone;
         createdStructure.labelsQualifications = ['passNumerique'];
+        createdStructure.accountVerified = true;
         // Address
         createdStructure.address = this.formatAddress(structure);
         createdStructure.save();
-- 
GitLab