mirror of
https://github.com/wassname/talk.git
synced 2026-08-07 11:29:44 +08:00
204 response
This commit is contained in:
@@ -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));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user