Skip to content

Commit e3d92a7

Browse files
committed
tidying up usage example
1 parent 017e453 commit e3d92a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

USAGE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ public class Application {
2727
.filter(HrisListEmployeesQueryParamFilter.builder()
2828
.updatedAfter("2020-01-01T00:00:00.000Z")
2929
.build())
30-
.updatedAfter("2020-01-01T00:00:00.000Z")
3130
.expand("company,employments,work_location,home_location,groups,skills")
3231
.include("avatar_url,avatar,custom_fields,job_description,benefits")
3332
.build();
3433

3534
sdk.hris().listEmployees()
36-
.request(req)
37-
.callAsStream()
35+
.request(req)
36+
.call()
37+
.employeesPaginated().get().data()
3838
.forEach(item -> {
39-
// handle item
39+
// handle item
4040
});
4141

4242
}

0 commit comments

Comments
 (0)