Commit 06cd08eb authored by Phil Hughes's avatar Phil Hughes

more EE backports

parent e0bc7e5f
......@@ -39,7 +39,11 @@ const Api = {
per_page: 20,
}, options),
})
.then(({ data }) => callback(data));
.then(({ data }) => {
callback(data);
return data;
});
},
// Return namespaces list. Filtered by query
......@@ -70,7 +74,11 @@ const Api = {
return axios.get(url, {
params: Object.assign(defaults, options),
})
.then(({ data }) => callback(data));
.then(({ data }) => {
callback(data);
return data;
});
},
// Return single project
......
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