Skip to content

Commit

Permalink
SAK-40682: EntityBroker > fix wrong return type for membership
Browse files Browse the repository at this point in the history
  • Loading branch information
dnhutchins authored and bjones86 committed Sep 25, 2018
1 parent 5d7ff8c commit 2505a4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public ActionReturn handleSiteMemberships(EntityView view, Map<String, Object> p

List<EntityData> l = getEntities(new EntityReference(PREFIX, ""), new Search(
CollectionResolvable.SEARCH_LOCATION_REFERENCE, locationReference));
ActionReturn actionReturn = new ActionReturn(l, Formats.JSON);
ActionReturn actionReturn = new ActionReturn(l, view.getFormat());
if ((extraResponseHeaders != null) && !extraResponseHeaders.isEmpty()) {
actionReturn.setHeaders(extraResponseHeaders);
}
Expand Down

0 comments on commit 2505a4d

Please sign in to comment.