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

Add type of service sub route

parent 0117fab0
No related branches found
No related tags found
1 merge request!133Release v1.4.0
Pipeline #16260 failed
......@@ -95,6 +95,18 @@ transportApp.get('/education_level_basic', (req, res, next) => {
next();
}, response('education_level_basic'));
transportApp.get('/service_type', (req, res, next) => {
req.result = [
{id: 0, name: 'Não se aplica'},
{id: 1, name: 'Classe hospitalar'},
{id: 2, name: 'Unidade de Atendimento Socioeducativo'},
{id: 3, name: 'Unidade Prisional'},
{id: 4, name: 'Atividade Complementar '},
{id: 5, name: 'Atendimento Educacional Especializado (AEE)'}
];
next();
}, response('service_type'));
transportApp.get('/transportation_manager', (req, res, next) => {
req.result = [
{id: null, name: 'Não classificada'},
......
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