From 2917ffd55a6185de7d0737d1477e08bb19df4cdd Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Thu, 26 Nov 2015 21:29:30 +0200 Subject: [PATCH] return all members from members api --- services/github.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/github.js b/services/github.js index 2ec0ff0..e36f218 100644 --- a/services/github.js +++ b/services/github.js @@ -37,14 +37,14 @@ var githubService = { }); }, /** - * Fetch all the public members of the GitHub organization + * Fetch all members of the GitHub organization */ getMembers: function(pageNum) { pageNum = pageNum || 0; return new Promise(function(resolve, reject) { request - .get('https://api.github.com/orgs/koodiklinikka/public_members') + .get('https://api.github.com/orgs/koodiklinikka/members') .query({page: pageNum}) .set('Authorization', 'token ' + config.github.token) .end(function(error, response){