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

Alterada rota para alterar status dos arquivos

parent 12322506
......@@ -138,7 +138,7 @@ router.put('/:id', function(req, res) {
})
})
router.put('/status/:id', role.isModerador(), function(req, res) {
router.put('/:id/status', role.isModerador(), function(req, res) {
var memberId = req.params.id
Arquivo.findById(memberId, function(err, arquivo) {
......
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