From ef7e957c3587f170bf9496bc63446b4e837bf60d Mon Sep 17 00:00:00 2001
From: fgs21 <fgs21@inf.ufpr.br>
Date: Wed, 9 Oct 2024 10:02:11 -0300
Subject: [PATCH] [ADD] Adding module.export to new route file

---
 src/libs/routes_v1/uniLocalOfferAggregate.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/libs/routes_v1/uniLocalOfferAggregate.js b/src/libs/routes_v1/uniLocalOfferAggregate.js
index bed9d5b0..184bc60d 100644
--- a/src/libs/routes_v1/uniLocalOfferAggregate.js
+++ b/src/libs/routes_v1/uniLocalOfferAggregate.js
@@ -79,11 +79,12 @@ rqf.addField({
     }
 });
 
-
 uniLocalOfferAggregateApp.get('/', (req, res, next) => {
     req.sql.from('curso_superior_agregado')
     .field('DISTINCT curso_superior_agregado.cod_ies', 'cod')
     .field('ies_ens_superior.nome_ies', 'nome')
     .join('ies_ens_superior', null, 'curso_superior_agregado.cod_ies = ies_ens_superior.cod_ies and curso_superior_agregado.ano_censo = ies_ens_superior.ano_censo')
     next();
-}, query, response('uni_offer_aggregate'));
\ No newline at end of file
+}, query, response('uni_offer_aggregate'));
+
+module.exports = uniLocalOfferAggregateApp;
\ No newline at end of file
-- 
GitLab