From 9d12e8bf5ec9831f9e232df5e63a204458a1a0b9 Mon Sep 17 00:00:00 2001 From: Vytor Calixto <vytorcalixto@gmail.com> Date: Wed, 12 Apr 2017 10:54:48 -0300 Subject: [PATCH] Add new convert function to id2str: educationLevel --- src/libs/middlewares/id2str.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libs/middlewares/id2str.js b/src/libs/middlewares/id2str.js index 48ecf56c..c86bf51e 100644 --- a/src/libs/middlewares/id2str.js +++ b/src/libs/middlewares/id2str.js @@ -5,12 +5,13 @@ const schoolYear = require(`${libs}/convert/schoolYear`); const admDependency = require(`${libs}/convert/admDependency`); const location = require(`${libs}/convert/location`); const ethnicGroup = require(`${libs}/convert/ethnicGroup`); +const educationLevel = require(`${libs}/convert/educationLevel`); const ids = { gender_id: gender, period_id: period, school_year_id: schoolYear, - education_level_id: schoolYear, + education_level_id: educationLevel, adm_dependency_id: admDependency, adm_dependency_detailed_id: admDependency, location_id: location, @@ -40,5 +41,6 @@ module.exports = { schoolYear, admDependency, location, - ethnicGroup + ethnicGroup, + educationLevel }; -- GitLab