Skip to content

Commit

Permalink
dont use tx server if auth source missing
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 18, 2024
1 parent 29e74c2 commit 992f41d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ public void expandValueSet(
// If terminologyEndpoint exists and we have no authoritativeSourceUrl or the authoritativeSourceUrl matches the
// terminologyEndpoint address then we will use the terminologyEndpoint for expansion
if (terminologyEndpoint.isPresent()
&& (authoritativeSourceUrl == null
|| authoritativeSourceUrl.equals(
terminologyEndpoint.get().getAddress()))) {
&& authoritativeSourceUrl.equals(
terminologyEndpoint.get().getAddress())) {
try {
var expandedValueSet = (ValueSetAdapter) createAdapterForResource(
terminologyServerClient.expand(valueSet, terminologyEndpoint.get(), expansionParameters));
Expand Down

0 comments on commit 992f41d

Please sign in to comment.