Skip to content

Commit

Permalink
fix(routes): PATCH /session/account/profile -> 204
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinelyset authored and gr2m committed Mar 10, 2016
1 parent b60bec7 commit 675b9ff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions routes/profile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 675b9ff

Please sign in to comment.