string param changed to token param

This commit is contained in:
Melih Aydogdu 2024-07-22 13:51:29 +02:00
parent fcb69e600f
commit 3d352582a2
1 changed files with 2 additions and 2 deletions

View File

@ -452,8 +452,8 @@ public class InMemoryResourceMatcher {
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) {