Users PUT endpoint syntax error

pull/11/head
Nishant Arora 8 years ago
parent 489b957357
commit d4f666f384

@ -115,6 +115,7 @@ module.exports = function(app) {
code: 'B135',
data: collection.toJSON()
})
})
.catch(function (error) {
res.status(500).json({
error: {
@ -127,7 +128,6 @@ module.exports = function(app) {
}
})
});
});
});
app.delete('/users',function(req,res){

Loading…
Cancel
Save