Skip to content

Commit

Permalink
fix the links structure containing the meta information
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-charton authored and remmeier committed Jan 12, 2021
1 parent 5c7f445 commit d9fc756
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d9fc756

Please sign in to comment.