summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/api.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-17 06:08:39 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-17 06:08:39 +0000
commitea20020f71c7226d57b6449b1d9b6c6f1298223e (patch)
tree8e33029cf61ae40635dde3fc5c1567dda8d14d18 /app/assets/javascripts/api.js
parentd9e821dbd908f40ff9828357452cd55a651283fa (diff)
downloadgitlab-ce-ea20020f71c7226d57b6449b1d9b6c6f1298223e.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/api.js')
-rw-r--r--app/assets/javascripts/api.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/assets/javascripts/api.js b/app/assets/javascripts/api.js
index 5e3932db235..bee079c6643 100644
--- a/app/assets/javascripts/api.js
+++ b/app/assets/javascripts/api.js
@@ -54,10 +54,15 @@ const Api = {
});
},
- groupMembers(id) {
+ groupMembers(id, options) {
const url = Api.buildUrl(this.groupMembersPath).replace(':id', encodeURIComponent(id));
- return axios.get(url);
+ return axios.get(url, {
+ params: {
+ per_page: DEFAULT_PER_PAGE,
+ ...options,
+ },
+ });
},
// Return groups list. Filtered by query