Skip to content

Commit

Permalink
Public details
Browse files Browse the repository at this point in the history
  • Loading branch information
markalbrand56 committed Oct 9, 2023
1 parent 7c27a48 commit 42dbac0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/controllers/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ type PublicDetailsStudent struct {
Nombre string `json:"nombre"`
Apellido string `json:"apellido"`
Nacimiento time.Time `json:"nacimiento"`
Telefono string `json:"telefono"`
Carrera int `json:"carrera"`
Semestre int `json:"semestre"`
CV string `json:"cv"`
Expand Down Expand Up @@ -357,6 +358,7 @@ func GetUserDetails(c *gin.Context) {
Nombre: estudiante.Nombre,
Apellido: estudiante.Apellido,
Nacimiento: estudiante.Nacimiento,
Telefono: estudiante.Telefono,
Carrera: estudiante.Carrera,
Semestre: estudiante.Semestre,
CV: estudiante.CV,
Expand Down

0 comments on commit 42dbac0

Please sign in to comment.