From 2ea18fb424abcf4bee3e83644412faae9b0a2b4b Mon Sep 17 00:00:00 2001 From: Vytor Calixto <vytorcalixto@gmail.com> Date: Wed, 14 Nov 2018 16:26:08 -0200 Subject: [PATCH] Remove inexistent educationLevelSchoolYear convert function --- CHANGELOG.md | 6 +++++- src/libs/middlewares/id2str.js | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97fb7ab0..9b263b2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 1.8.1 - 2018-11-13 +### Changed +- Fixed bug in id2str with inexistent convert function + ## 1.8.0 - 2018-11-13 ### Added - Add financial route @@ -23,7 +27,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Remove filters in transport route ## 1.6.1 - 2018-08-23 -# Changed +### Changed - Fix return json name in transport route ## 1.6.0 - 2018-08-17 diff --git a/src/libs/middlewares/id2str.js b/src/libs/middlewares/id2str.js index 30bf8122..1fa084f7 100644 --- a/src/libs/middlewares/id2str.js +++ b/src/libs/middlewares/id2str.js @@ -31,7 +31,7 @@ const useTransportPublic = require(`${libs}/convert/booleanVariable`); const transportationManager = require(`${libs}/convert/transportationManager`); const specialClass = require(`${libs}/convert/booleanVariable`); const integralTime = require(`${libs}/convert/integralTime`); -const educationLevelSchoolYear = require(`${libs}/convert/educationLevelSchoolYear`); +// const educationLevelSchoolYear = require(`${libs}/convert/educationLevelSchoolYear`); const ids = { gender_id: gender, @@ -74,7 +74,7 @@ const ids = { use_transport_public_id: useTransportPublic, transportation_manager_id: transportationManager, special_class_id: specialClass, - education_level_school_year_id: educationLevelSchoolYear, + // education_level_school_year_id: educationLevelSchoolYear, }; function transform(removeId=false) { -- GitLab