From 1b65db941afd668c514c6f903b03e716bbe3421c Mon Sep 17 00:00:00 2001
From: Jeremie BRISON <ext.sopra.jbrison@grandlyon.com>
Date: Mon, 7 Dec 2020 15:04:09 +0100
Subject: [PATCH] update name var

---
 src/structures/dto/create-structure.dto.ts | 2 +-
 src/structures/schemas/structure.schema.ts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/structures/dto/create-structure.dto.ts b/src/structures/dto/create-structure.dto.ts
index 019b210aa..857697914 100644
--- a/src/structures/dto/create-structure.dto.ts
+++ b/src/structures/dto/create-structure.dto.ts
@@ -36,7 +36,7 @@ export class CreateStructureDto {
   aideALaParentalite: string[];
   cultureEtSecuriteNumerique: string[];
   wifiEnAccesLibre: boolean;
-  ordinateurs: boolean;
+  nbComputers: boolean;
   nombre: string;
   tablettes: boolean;
   bornesNumeriques: boolean;
diff --git a/src/structures/schemas/structure.schema.ts b/src/structures/schemas/structure.schema.ts
index 878c39f04..711c63714 100644
--- a/src/structures/schemas/structure.schema.ts
+++ b/src/structures/schemas/structure.schema.ts
@@ -115,7 +115,7 @@ export class Structure {
   equipementsEtServicesProposes: string[];
 
   @Prop()
-  ordinateurs: number;
+  nbComputers: number;
 
   @Prop()
   precisionsSiNecessaire: string;
-- 
GitLab