aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/v1/videos.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/v1/videos.js')
-rw-r--r--server/controllers/api/v1/videos.js4
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}