Skip to content
Snippets Groups Projects
Commit 57c65d70 authored by Pietro Cavassin's avatar Pietro Cavassin
Browse files

get response from id2str

parent 75b512a8
No related branches found
No related tags found
1 merge request!309Merge new updates into master
...@@ -93,10 +93,13 @@ universityEnrollmentApp.get('/ocde_geral', (req, res, next) => { ...@@ -93,10 +93,13 @@ universityEnrollmentApp.get('/ocde_geral', (req, res, next) => {
universityEnrollmentApp.get('/finish', (req, res, next) => { universityEnrollmentApp.get('/finish', (req, res, next) => {
req.result = [ req.result = []
{id: 0, name: "Não"}, for (let i = 0; i <= 1; ++i){
{id: 1, name: "Sim"}, req.result.push({
]; id: i,
name: id2str.finishUniversity(i)
})
}
next(); next();
}, response('finish')); }, response('finish'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment