mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
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…
Add table
Add a link
Reference in a new issue