diff --git a/CHANGELOG.md b/CHANGELOG.md index 75a5690522c8cd4088bbdb13704b1fd3d84c1735..9565b7c3410a9a65280623a83095150c844cde2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,13 @@ 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/). -## UNRELEASED -- Fix pib per capita route +## 1.7.0 - 2018-09-20 +### Changed +- Fix return string in contract type id 1 +- Fix out of school route +- Fix pib-per-capita route +- Fix filters in infrastructure route +- Remove filters in transport route ## 1.6.1 - 2018-08-23 # Changed diff --git a/src/libs/convert/contractType.js b/src/libs/convert/contractType.js index 6c9167ce6e3758feb8de1d20c7a3b228be1e4f17..a20ab853531d6fde809b7f85ff197ab0a003a268 100644 --- a/src/libs/convert/contractType.js +++ b/src/libs/convert/contractType.js @@ -1,7 +1,7 @@ -module.exports = function idhmLevel(id) { +module.exports = function contractType(id) { switch (id) { case 1: - return 'Concursado/Efetivo/Estavél'; + return 'Concursado/Efetivo/Estável'; case 2: return 'Contrato temporário'; case 3: diff --git a/src/libs/routes/pibpercapita.js b/src/libs/routes/pibpercapita.js index aacebe6e1313fca3b954944ea8a64c7855153e90..de1ec7d60b1699675701ac8c7906a6b24052eaff 100644 --- a/src/libs/routes/pibpercapita.js +++ b/src/libs/routes/pibpercapita.js @@ -170,7 +170,6 @@ pibpercapitaApp.get('/', rqf.parse(), rqf.build(), (req, res, next) => { let isnum = /^\d+$/.test(value); if (isnum == true) { value = value.toFixed(2) - console.log(value) } // console.log(i.total);