Skip to content

Commit

Permalink
string param changed to token param
Browse files Browse the repository at this point in the history
  • Loading branch information
melihaydogd committed Jul 22, 2024
1 parent fcb69e6 commit 3d35258
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ private boolean matchIdsAndOr(List<List<IQueryParameterType>> theAndOrParams, IB

private boolean matchIdsOr(List<IQueryParameterType> theOrParams, IBaseResource theResource) {
return theOrParams.stream()
.anyMatch(param -> param instanceof StringParam
&& matchId(((StringParam) param).getValue(), theResource.getIdElement()));
.anyMatch(param -> param instanceof TokenParam
&& matchId(((TokenParam) param).getValue(), theResource.getIdElement()));
}

private boolean matchId(String theValue, IIdType theId) {
Expand Down

0 comments on commit 3d35258

Please sign in to comment.