From 3e14bbefd45d23e3f413fa8f19816b9e94255e9e Mon Sep 17 00:00:00 2001
From: fgs21 <fgs21@inf.ufpr.br>
Date: Tue, 6 Feb 2024 09:51:53 -0300
Subject: [PATCH] [ADD] Trying to add and use id2str function in newPnad

---
 src/libs/routes_v1/newPnad.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libs/routes_v1/newPnad.js b/src/libs/routes_v1/newPnad.js
index be59ce65..a059a430 100644
--- a/src/libs/routes_v1/newPnad.js
+++ b/src/libs/routes_v1/newPnad.js
@@ -359,6 +359,6 @@ PnadNovoApp.get('/', rqf.parse(), rqf.build(),  (req, res, next) => {
     .order('pnad_novo.ano_ref')
     console.log(req.sql.toString())
     next();
-}, query, response('pnad_novo'));
+}, query, id2str.transform(false),response('pnad_novo'));
 
 module.exports = PnadNovoApp;
-- 
GitLab