diff --git a/src/libs/routes/school.js b/src/libs/routes/school.js index 3f3fed6988975539dcfef9be48d09bf1dee8aa30..22c1dbacc4a9265b5e66ce135335518afdf3c061 100644 --- a/src/libs/routes/school.js +++ b/src/libs/routes/school.js @@ -67,13 +67,13 @@ schoolApp.get('/building_school', (req, res, next) => { next(); }, response('building_school')); -schoolApp.get('/library', (req, res, next) => { +schoolApp.get('/library_or_reading_room', (req, res, next) => { req.result = [ {id: 0, name: 'Não'}, {id: 1, name: 'Sim'} ]; next(); -}, response('library')); +}, response('library_or_reading_room')); schoolApp.get('/informatics_lab', (req, res, next) => { req.result = [