Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
markalbrand56 committed Oct 7, 2023
1 parent 5b3bdbb commit 977230a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions backend/controllers/offer.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,6 @@ func GetApplicants(c *gin.Context) {
}

// Verificación con el token para que no se pueda ver las postulaciones de otras empresas
// TODO Eliminar debug
fmt.Println("tokenUsername: ", tokenUsername)
fmt.Println("input.IdOferta: ", input.IdOferta)

var offer models.Oferta
err = configs.DB.Where("id_oferta = ? AND id_empresa = ?", input.IdOferta, tokenUsername).First(&offer).Error

Expand Down

0 comments on commit 977230a

Please sign in to comment.