Make PUT return 'success' to match POST

This commit is contained in:
Matthew Bargar 2015-12-04 13:02:52 -05:00
parent 1f47509fea
commit 6f0dcefc69

View file

@ -46,7 +46,7 @@ module.exports = function registerPut(server) {
};
callWithRequest(req, 'update', params)
.then(function (pattern) {
return reply(pattern);
return reply('success');
}, function (error) {
return reply(handleESError(error));
});