Skip to content

Commit

Permalink
[BI-2047] - removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mlm483 committed Feb 18, 2025
1 parent edb94f5 commit c988d88
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ public HttpResponse observationsGet(@PathVariable("programId") UUID programId,
// Paginate response.
observations = observations.subList(start, end);
} else {
// If one or more of the pagination query parameters are not null, both must be present and valid.
String errorMessage = "Invalid query parameters: page, pageSize";
return HttpResponse.badRequest(new BrAPIObservationListResponse().metadata(new BrAPIMetadata().status(List.of(new BrAPIStatus().messageType(BrAPIStatus.MessageTypeEnum.ERROR)
.message(errorMessage)))));
Expand Down

0 comments on commit c988d88

Please sign in to comment.