diff --git a/src/routes/coletor.js b/src/routes/coletor.js index 3dbd005..f2b6d22 100644 --- a/src/routes/coletor.js +++ b/src/routes/coletor.js @@ -199,7 +199,6 @@ export default app => { * $ref: '#/components/responses/InternalServerError' */ app.route('/coletores').get([ - tokensMiddleware([TIPOS_USUARIOS.CURADOR]), validacoesMiddleware(listarColetoresEsquema), listagensMiddleware, coletoresController.listaColetores, diff --git a/src/routes/identificador.js b/src/routes/identificador.js index b2511fd..e7c39f0 100644 --- a/src/routes/identificador.js +++ b/src/routes/identificador.js @@ -167,7 +167,6 @@ export default app => { * $ref: '#/components/responses/InternalServerError' */ app.route('/identificadores').get([ - tokensMiddleware([TIPOS_USUARIOS.CURADOR]), validacoesMiddleware(listarIdentificadoresEsquema), listagensMiddleware, identificadoresController.listaIdentificadores,