diff options
author | Christoph (Sheogorath) Kern | 2018-10-09 09:16:34 +0200 |
---|---|---|
committer | GitHub | 2018-10-09 09:16:34 +0200 |
commit | 482a91e15d03107324330d20c853bad339004bb0 (patch) | |
tree | 31dd7d4b99a84398e036c4726e547f1b93876b4f /lib | |
parent | 3817d580dd8735cd530f1604f9416a30168dbf70 (diff) | |
parent | d7987def7f8f83b6ded8af32cff8416bfa9552bc (diff) |
Merge pull request #1002 from micedre/fix-issue-1001
Fix #1001: get only project user is member of (and return max of results)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/response.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/response.js b/lib/response.js index 9f1740c8..4f572e47 100644 --- a/lib/response.js +++ b/lib/response.js @@ -591,7 +591,7 @@ function gitlabActionProjects (req, res, note) { ret.accesstoken = user.accessToken ret.profileid = user.profileid request( - config.gitlab.baseURL + '/api/' + config.gitlab.version + '/projects?access_token=' + user.accessToken, + config.gitlab.baseURL + '/api/' + config.gitlab.version + '/projects?membership=yes&per_page=100&access_token=' + user.accessToken, function (error, httpResponse, body) { if (!error && httpResponse.statusCode === 200) { ret.projects = JSON.parse(body) |