From 98b01bac2c2c4536aa97d826b61516657f4d15f5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 14 Mar 2016 22:16:43 +0100 Subject: Angular 2 : draft 2 --- server/controllers/api/v1/videos.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/controllers/api/v1') 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) { // Now we'll add the video's meta data to our friends friends.addVideoToFriends(video_data) - // TODO : include Location of the new video - res.type('json').status(201).end() + // TODO : include Location of the new video -> 201 + res.type('json').status(204).end() }) }) } -- cgit v1.2.3