Skip to content

Commit

Permalink
add limit=0 to filtering_terms endpoint
Browse files Browse the repository at this point in the history
(because the validator won't do it anymore)
  • Loading branch information
redmitry committed Apr 26, 2024
1 parent 72b01b0 commit 33614b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ private String getBeaconId(String endpoint) {
public BeaconFilteringTermsResponse loadFilteringTerms(String endpoint) {
try {
final List<BeaconValidationMessage> err = new ArrayList();
final String json = validator.loadMetadata(endpoint, new ValidationErrorsCollector(err));
final String json = validator.loadMetadata(endpoint + "?limit=0", new ValidationErrorsCollector(err));
if (err.isEmpty()) {
return (BeaconFilteringTermsResponse)validator.parseMetadata(json, BeaconMetadataSchema.BEACON_FILTERING_TERMS_SCHEMA);
}
Expand Down

0 comments on commit 33614b3

Please sign in to comment.