diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-14 13:50:19 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-14 13:50:19 +0100 |
commit | dc8bc31be517a53e8fbe7100cfe45cd73f596de0 (patch) | |
tree | c0b0d6641dd352dafff93b8fd33ddb262b59aa47 /server/controllers/api/v1/index.js | |
parent | bd324a669218f9ed302f7f54b36ee535d25c9733 (diff) | |
download | PeerTube-dc8bc31be517a53e8fbe7100cfe45cd73f596de0.tar.gz PeerTube-dc8bc31be517a53e8fbe7100cfe45cd73f596de0.tar.zst PeerTube-dc8bc31be517a53e8fbe7100cfe45cd73f596de0.zip |
Angular application :first draft
Diffstat (limited to 'server/controllers/api/v1/index.js')
-rw-r--r-- | server/controllers/api/v1/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/v1/index.js b/server/controllers/api/v1/index.js index abbc5eb60..b562bc2af 100644 --- a/server/controllers/api/v1/index.js +++ b/server/controllers/api/v1/index.js | |||
@@ -20,5 +20,5 @@ module.exports = router | |||
20 | // --------------------------------------------------------------------------- | 20 | // --------------------------------------------------------------------------- |
21 | 21 | ||
22 | function badRequest (req, res, next) { | 22 | function badRequest (req, res, next) { |
23 | res.sendStatus(400) | 23 | res.type('json').status(400).end() |
24 | } | 24 | } |