Skip to content

Commit

Permalink
fix: empty collection instead of null and precise ckan params
Browse files Browse the repository at this point in the history
  • Loading branch information
admy7 committed Sep 5, 2024
1 parent 81be535 commit bdb4ecd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public BeaconFacetBuilder(BeaconFilteringTermsService service, BeaconAuth beacon
public List<Facet> build(String accessToken) {
var beaconAuthorization = beaconAuth.retrieveAuthorization(accessToken);
if (beaconAuthorization == null) {
return null;
return List.of();
}
return service.listFilteringTermList(beaconAuthorization);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public List<Facet> build(String accessToken) {
null,
null,
null,
null,
null,
0,
0,
selectedFacets,
accessToken
);
Expand Down

0 comments on commit bdb4ecd

Please sign in to comment.