204 response

This commit is contained in:
Belen Curcio
2016-12-08 14:39:05 -03:00
parent c1ba2d432e
commit be721b85c6
+1 -1
View File
@@ -85,7 +85,7 @@ router.put('/:asset_id/settings', (req, res, next) => {
// Override the settings for the asset.
Asset
.overrideSettings(req.params.asset_id, req.body)
.then(({settings}) => res.json({settings}))
.then(() => res.status(204).end())
.catch((err) => next(err));
});