diff --git a/crnk-client/src/main/java/io/crnk/client/internal/ClientStubBase.java b/crnk-client/src/main/java/io/crnk/client/internal/ClientStubBase.java index 7435a49e4..592cbfcbf 100644 --- a/crnk-client/src/main/java/io/crnk/client/internal/ClientStubBase.java +++ b/crnk-client/src/main/java/io/crnk/client/internal/ClientStubBase.java @@ -124,7 +124,7 @@ private static Object toResourceResponse(Document document, ObjectMapper objectM list.setMeta(new JsonMetaInformation(document.getMeta(), objectMapper)); } if (document.getLinks() != null) { - list.setLinks(new JsonLinksInformation(document.getMeta(), objectMapper)); + list.setLinks(new JsonLinksInformation(document.getLinks(), objectMapper)); } return list; }