backported changed from EE

This commit is contained in:
Phil Hughes 2018-01-29 10:12:32 +00:00
parent f4a15ac0a3
commit e0bc7e5f9c
No known key found for this signature in database
GPG Key ID: 32245528C52E0F9F
1 changed files with 5 additions and 1 deletions

View File

@ -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