diff --git a/routes/profile.js b/routes/profile.js index f867d24..eaf0ea5 100644 --- a/routes/profile.js +++ b/routes/profile.js @@ -114,10 +114,8 @@ function profileRoutes (server, options, next) { }, {include: 'profile'}) }) - .then(serialise) - .then(function (json) { - reply(json).code(201) + reply().code(204) }) .catch(function (error) {