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

Add route library in school.js

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