diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-14 22:16:43 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-14 22:16:43 +0100 |
commit | 98b01bac2c2c4536aa97d826b61516657f4d15f5 (patch) | |
tree | 75fe2d75f1c58c6897127f03cfb7d8b654545227 /server | |
parent | dc8bc31be517a53e8fbe7100cfe45cd73f596de0 (diff) | |
download | PeerTube-98b01bac2c2c4536aa97d826b61516657f4d15f5.tar.gz PeerTube-98b01bac2c2c4536aa97d826b61516657f4d15f5.tar.zst PeerTube-98b01bac2c2c4536aa97d826b61516657f4d15f5.zip |
Angular 2 : draft 2
Diffstat (limited to 'server')
-rw-r--r-- | server/controllers/api/v1/videos.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/controllers/api/v1/videos.js b/server/controllers/api/v1/videos.js index 9398aabb7..76cad62d1 100644 --- a/server/controllers/api/v1/videos.js +++ b/server/controllers/api/v1/videos.js | |||
@@ -76,8 +76,8 @@ function addVideo (req, res, next) { | |||
76 | // Now we'll add the video's meta data to our friends | 76 | // Now we'll add the video's meta data to our friends |
77 | friends.addVideoToFriends(video_data) | 77 | friends.addVideoToFriends(video_data) |
78 | 78 | ||
79 | // TODO : include Location of the new video | 79 | // TODO : include Location of the new video -> 201 |
80 | res.type('json').status(201).end() | 80 | res.type('json').status(204).end() |
81 | }) | 81 | }) |
82 | }) | 82 | }) |
83 | } | 83 | } |