Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/java/org/zendesk/client/v2/Zendesk.java
Original file line number Diff line number Diff line change
Expand Up @@ -3241,7 +3241,7 @@ public Iterable<Subscription> getUserSubscriptions(User user) {

public Iterable<Subscription> getUserSubscriptions(Long userId) {
return new PagedIterable<>(
tmpl("/help_center/users/{userId}/subscriptions.json").set("userId", userId),
tmpl("/help_center/users/{userId}/subscriptions.json?page[size]=100").set("userId", userId),
handleList(Subscription.class, "subscriptions"));
}

Expand All @@ -3251,7 +3251,7 @@ public Iterable<Subscription> getArticleSubscriptions(Long articleId) {

public Iterable<Subscription> getArticleSubscriptions(Long articleId, String locale) {
return new PagedIterable<>(
tmpl("/help_center{/locale}/articles/{articleId}/subscriptions.json")
tmpl("/help_center{/locale}/articles/{articleId}/subscriptions.json?page[size]=100")
.set("locale", locale)
.set("articleId", articleId),
handleList(Subscription.class, "subscriptions"));
Expand All @@ -3263,7 +3263,7 @@ public Iterable<Subscription> getSectionSubscriptions(Long sectionId) {

public Iterable<Subscription> getSectionSubscriptions(Long sectionId, String locale) {
return new PagedIterable<>(
tmpl("/help_center{/locale}/sections/{sectionId}/subscriptions.json")
tmpl("/help_center{/locale}/sections/{sectionId}/subscriptions.json?page[size]=100")
.set("locale", locale)
.set("sectionId", sectionId),
handleList(Subscription.class, "subscriptions"));
Expand Down