diff options
| author | Phil Hughes <me@iamphill.com> | 2018-01-29 10:12:32 +0000 |
|---|---|---|
| committer | Phil Hughes <me@iamphill.com> | 2018-01-30 09:12:58 +0000 |
| commit | e0bc7e5f9cda721fff329f3dff31f6fad611762d (patch) | |
| tree | 302fd304260cc806fd7845c35e635dbb77659773 | |
| parent | f4a15ac0a310e66c5643ae0f4295ea8fb2c2f24d (diff) | |
| download | gitlab-ce-e0bc7e5f9cda721fff329f3dff31f6fad611762d.tar.gz | |
backported changed from EE
| -rw-r--r-- | app/assets/javascripts/api.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/api.js b/app/assets/javascripts/api.js index bd2842c90f5..acfee3fe13e 100644 --- a/app/assets/javascripts/api.js +++ b/app/assets/javascripts/api.js @@ -23,7 +23,11 @@ const Api = { const url = Api.buildUrl(Api.groupPath) .replace(':id', groupId); return axios.get(url) - .then(({ data }) => callback(data)); + .then(({ data }) => { + callback(data); + + return data; + }); }, // Return groups list. Filtered by query |
