mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[courier] avoid loosing this context with
This commit is contained in:
parent
bfb2b20ef5
commit
5f1b581da2
1 changed files with 4 additions and 1 deletions
|
@ -33,7 +33,10 @@ define(function (require) {
|
|||
return responses[_.findIndex(executable, req)];
|
||||
}
|
||||
})
|
||||
.then(defer.resolve, defer.reject);
|
||||
.then(
|
||||
(res) => defer.resolve(res),
|
||||
(err) => defer.reject(err)
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue