Skip to content

Commit

Permalink
'granularity' -> 'requestedGranularity' (model fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
redmitry committed Mar 6, 2024
1 parent 19ab59f commit 98e71d8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>es.bsc.inb.ga4gh</groupId>
<artifactId>beacon-framework</artifactId>
<version>2.0.4</version>
<version>2.0.7</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ protected BeaconResponseMeta getMeta(
.collect(Collectors.toList()));
}

request_summary.setRequestedGranularity(request_query.getGranularity());
request_summary.setRequestedGranularity(request_query.getRequestedGranularity());
request_summary.setTestMode(request_query.getTestMode());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private BeaconFilteringTermsResponse aggregateFilteringTerms(String scope,
if (scopes == null) {
filtering_term.setScopes(scopes = new ArrayList());
}
if (!scopes.contains(scope)) {
if (scope != null && !scopes.contains(scope)) {
scopes.add(scope);
}
terms.put(id, filtering_term);
Expand Down

0 comments on commit 98e71d8

Please sign in to comment.