Commit e1acf4b7 authored by andreagerino's avatar andreagerino

...

parent ba06ea2c
...@@ -61,7 +61,7 @@ router.post('/', function(req, res, next){ ...@@ -61,7 +61,7 @@ router.post('/', function(req, res, next){
var error = new Error("You can't store an empty resource!"); var error = new Error("You can't store an empty resource!");
error.status = 400; error.status = 400;
debug(err); debug(error);
next(error); next(error);
} }
......
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