Skip to content

Commit

Permalink
fix(GDU-64): Controlar datos del profesional asociado al usuario
Browse files Browse the repository at this point in the history
  • Loading branch information
MarianoCampetella committed Jun 26, 2024
1 parent f159ad5 commit e929fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tm/routes/profesional.ts
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ router.get('/profesionales', Auth.authenticate(), async (req, res, next) => {
}

if (req.query.documento) {
opciones['documento'] = makePattern(req.query.documento);
opciones['documento'] = req.query.busquedaExacta ? req.query.documento : makePattern(req.query.documento);
}
if (req.query.numeroMatriculaGrado) {
opciones['formacionGrado.matriculacion.matriculaNumero'] = req.query.numeroMatriculaGrado;
Expand Down

0 comments on commit e929fba

Please sign in to comment.