Skip to content

Commit

Permalink
fix(fhir): NPE when expanding VS without displayLanguage param using …
Browse files Browse the repository at this point in the history
…POST endpoint
  • Loading branch information
cmark authored May 4, 2024
1 parent a0831c7 commit e9d1866
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021-2023 B2i Healthcare, https://b2ihealthcare.com
* Copyright 2021-2024 B2i Healthcare, https://b2ihealthcare.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -258,7 +258,7 @@ public Promise<ResponseEntity<byte[]>> expand(
request.getUrl().getUriValue(),
request.getFilter(),
request.getActiveOnly(),
request.getDisplayLanguage().getCodeValue(),
request.getDisplayLanguage() == null ? null : request.getDisplayLanguage().getCodeValue(),
request.getIncludeDesignations(),
request.getWithHistorySupplements(),
request.getCount(),
Expand Down

0 comments on commit e9d1866

Please sign in to comment.