1
0
forked from ScoDoc/ScoDoc

API assiduite: nip -> code_nip (oups)

This commit is contained in:
Emmanuel Viennet 2023-07-29 19:04:35 +02:00
parent cab72caebe
commit dc375f1a89
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ class Assiduite(db.Model):
data = {
"assiduite_id": self.id,
"etudid": self.etudid,
"nip": self.etudiant.code_nip,
"code_nip": self.etudiant.code_nip,
"moduleimpl_id": self.moduleimpl_id,
"date_debut": self.date_debut,
"date_fin": self.date_fin,

View File

@ -24,7 +24,7 @@ MODULE = 1
ASSIDUITES_FIELDS = {
"assiduite_id": int,
"etudid": int,
"nip": str,
"code_nip": str,
"moduleimpl_id": int,
"date_debut": str,
"date_fin": str,