Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.github.core/src')
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GistService.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GistService.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GistService.java
index 393f801c..da048e64 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GistService.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/GistService.java
@@ -170,9 +170,7 @@ public class GistService extends GitHubService {
* @throws IOException
*/
public List<Gist> getGists(String user) throws IOException {
- PagedRequest<Gist> request = createUserGistRequest(user, PAGE_FIRST,
- PAGE_SIZE);
- return getAll(request);
+ return getAll(pageGists(user));
}
/**

Back to the top