From 8182ab5fdf70443da4ea0467cf5d1dc418178bea Mon Sep 17 00:00:00 2001 From: Fernando Gbur dos Santos <fernando_gbur@hotmail.com> Date: Wed, 22 Jan 2025 12:13:06 -0300 Subject: [PATCH] [TEST] Trying again --- src/libs/routes_v1/yearsOfStudy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/routes_v1/yearsOfStudy.js b/src/libs/routes_v1/yearsOfStudy.js index bdb95066..dc8f11c9 100644 --- a/src/libs/routes_v1/yearsOfStudy.js +++ b/src/libs/routes_v1/yearsOfStudy.js @@ -518,7 +518,7 @@ PnadNovoApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => { console.log(req.dims) if (req.dims) { for (let i in req.dims) { - teste += ` and pnad_novo.${rqf.f`${i}`.table} = media.${rqf.f`${i}`.tableField}` + teste += ` and pnad_novo.${rqf[i].table} = media.${rqf[i].tableField}` } } -- GitLab