Make PUT return 'success' to match POST
This commit is contained in:
parent
1f47509fea
commit
6f0dcefc69
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue