Skip to content
Snippets Groups Projects
Commit ea0b9de3 authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

Fix subroute in transport

parent 9ccb3698
No related branches found
No related tags found
No related merge requests found
Pipeline #17820 failed
......@@ -83,7 +83,7 @@ transportApp.get('/rural_location', (req, res, next) => {
next();
}, response('rural_location'));
transportApp.get('/education_level_basic', (req, res, next) => {
transportApp.get('/education_level_mod', (req, res, next) => {
req.result = [
{id: null, name: 'Não classificada'},
{id: 1, name: 'Creche'},
......@@ -97,7 +97,7 @@ transportApp.get('/education_level_basic', (req, res, next) => {
{id: 10, name: 'Educação Profissional'}
];
next();
}, response('education_level_basic'));
}, response('education_level_mod'));
transportApp.get('/service_type', (req, res, next) => {
req.result = [
......
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