Skip to content

Commit 97f19f7

Browse files
thewheatchoran
authored andcommitted
Fix scroll endpoint with a proper URI value (#186)
1 parent dffb29d commit 97f19f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intercom-java/src/main/java/io/intercom/api/DataResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static <C> C scroll(String scrollParam, String collectionPath, Class<C> c
7171
if (!Strings.isNullOrEmpty(scrollParam)) {
7272
params.put("scroll_param", scrollParam);
7373
}
74-
final HttpClient resource = new HttpClient(UriBuilder.newBuilder().path(collectionPath + "/scroll").query(params).build());
74+
final HttpClient resource = new HttpClient(UriBuilder.newBuilder().path(collectionPath).path("scroll").query(params).build());
7575
return resource.get(c);
7676
}
7777

0 commit comments

Comments
 (0)