Skip to content

Commit 4971141

Browse files
committed
fix user list
1 parent c62fb15 commit 4971141

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/com/xero/api/client/AccountingApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6416,10 +6416,10 @@ public Users getUser(UUID userID) throws IOException {
64166416
* @param ifModifiedSince Only records created or modified since this timestamp will be returned
64176417
* @param where Filter by an any element
64186418
* @param order Order by an any element
6419-
* @return List<Users>
6419+
* @return Users
64206420
* @throws IOException if an error occurs while attempting to invoke the API
64216421
**/
6422-
public List<Users> getUsers(OffsetDateTime ifModifiedSince, String where, String order) throws IOException {
6422+
public Users getUsers(OffsetDateTime ifModifiedSince, String where, String order) throws IOException {
64236423
try {
64246424
String strBody = null;
64256425
Map<String, String> params = null;
@@ -6435,7 +6435,7 @@ public List<Users> getUsers(OffsetDateTime ifModifiedSince, String where, String
64356435

64366436
String response = this.DATA(url, strBody, params, "GET", ifModifiedSince);
64376437

6438-
TypeReference<List<Users>> typeRef = new TypeReference<List<Users>>() {};
6438+
TypeReference<Users> typeRef = new TypeReference<Users>() {};
64396439
return apiClient.getObjectMapper().readValue(response, typeRef);
64406440

64416441
} catch (IOException e) {

0 commit comments

Comments
 (0)