Commit e0bc7e5f authored by Phil Hughes's avatar Phil Hughes

backported changed from EE

parent f4a15ac0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment