Skip to content
Snippets Groups Projects
Commit 4fe67c14 authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Merge branch 'v1.7.0' into release_v1.7.0

parents 2a06ac47 4344d1d7
No related branches found
No related tags found
1 merge request!155Release v1.7.0
Pipeline #17726 canceled
......@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## 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
......
module.exports = function citySize(id) {
switch (id) {
case 1:
return 'até 5000';
return '0 - 5000';
case 2:
return '5001 - 10000';
case 3:
......
......@@ -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);
......
......@@ -41,7 +41,7 @@ populationApp.get('/years', (req, res, next) => {
populationApp.get('/city_size', (req, res, next) => {
req.result = [
{id: 1, name: "até 5000"},
{id: 1, name: "0 - 5000"},
{id: 2, name: "5001 - 10000"},
{id: 3, name: "10001 - 20000"},
{id: 4, name: "20001 - 50000"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment