From d6316a24c95209389302375a4ba00d32f01eef86 Mon Sep 17 00:00:00 2001 From: Jason Croft Date: Thu, 12 May 2016 14:18:36 -0400 Subject: Only pull projects the user owns. --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 5d847f76..a89a4e29 100644 --- a/app.js +++ b/app.js @@ -449,7 +449,7 @@ app.get('/gitlab', function (req, res) { .then(function(user) { ret.accesstoken = user.accessToken; request( - config.gitlab.baseURL + '/api/v3/projects?access_token=' + user.accessToken, + config.gitlab.baseURL + '/api/v3/projects/owned?access_token=' + user.accessToken, function(error, httpResponse, body) { if (!error && httpResponse.statusCode == 200) { ret.projects = JSON.parse(body); -- cgit v1.2.3