From efb99059a75044020cb7a14c4746674f6d6e676e Mon Sep 17 00:00:00 2001 From: Lucas Vaz Date: Mon, 23 Mar 2026 21:24:12 -0300 Subject: [PATCH] Deixando as rotas de listagem de autores e identificadores --- src/routes/coletor.js | 1 - src/routes/identificador.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/routes/coletor.js b/src/routes/coletor.js index 3dbd0056..f2b6d223 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 b2511fdd..e7c39f09 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,