Commit a2641d3d authored by Vytor Calixto's avatar Vytor Calixto 👾
Browse files

Alterado retorno de /status/:status de arquivos

parent a3b542bc
......@@ -56,7 +56,7 @@ router.get('/status/:status', role.isModerador(), function(req, res) {
.exec(function(err, tests) {
if(!err) {
return res.json(tests)
return res.json({arquivos: tests})
} else {
res.statusCode = 500
console.log('Internal error(%d): %s', res.statusCode, err.message)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment