From fda833dbeed8823dd55fff77d0cb7681816fd6f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me>
Date: Wed, 5 Jul 2023 21:58:10 +0200
Subject: [PATCH] Models => Adapt date fields to string (in place of number)

---
 NodeApp/src/types/Enonce.ts   | 2 +-
 NodeApp/src/types/Exercice.ts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/NodeApp/src/types/Enonce.ts b/NodeApp/src/types/Enonce.ts
index d348a8c..dd7d659 100644
--- a/NodeApp/src/types/Enonce.ts
+++ b/NodeApp/src/types/Enonce.ts
@@ -7,7 +7,7 @@ interface Enonce {
     gitlabLink: string;
     gitlabCreationInfo: GitlabRepository;
     gitlabLastInfo: GitlabRepository;
-    gitlabLastInfoTs: number;
+    gitlabLastInfoDate: string;
 }
 
 
diff --git a/NodeApp/src/types/Exercice.ts b/NodeApp/src/types/Exercice.ts
index 12bb8da..c2ce3d8 100644
--- a/NodeApp/src/types/Exercice.ts
+++ b/NodeApp/src/types/Exercice.ts
@@ -9,7 +9,7 @@ interface Exercice {
     gitlabLink: string;
     gitlabCreationInfo: GitlabRepository;
     gitlabLastInfo: GitlabRepository;
-    gitlabLastInfoTs: number;
+    gitlabLastInfoDate: string;
 }
 
 
-- 
GitLab