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

Add sub-route library_or_reading_room

parent b082c1c8
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!47School number count
Pipeline #
...@@ -67,13 +67,13 @@ schoolApp.get('/building_school', (req, res, next) => { ...@@ -67,13 +67,13 @@ schoolApp.get('/building_school', (req, res, next) => {
next(); next();
}, response('building_school')); }, response('building_school'));
schoolApp.get('/library', (req, res, next) => { schoolApp.get('/library_or_reading_room', (req, res, next) => {
req.result = [ req.result = [
{id: 0, name: 'Não'}, {id: 0, name: 'Não'},
{id: 1, name: 'Sim'} {id: 1, name: 'Sim'}
]; ];
next(); next();
}, response('library')); }, response('library_or_reading_room'));
schoolApp.get('/informatics_lab', (req, res, next) => { schoolApp.get('/informatics_lab', (req, res, next) => {
req.result = [ 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