Skip to content

Commit

Permalink
fix: incorrect variable usage
Browse files Browse the repository at this point in the history
- It should be fullUrlSplit
  • Loading branch information
Chinlinlee committed Oct 9, 2023
1 parent b484e7d commit e2b80dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/FHIRApiService/services/bundle-operations.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class BundleOpService extends BaseFhirApiService {
if (!fullUrl) continue;

let fullUrlSplit = _.compact(fullUrl.split("/"));
if (fullUrl.length !== 2 ||
if (fullUrlSplit.length !== 2 ||
!resourceList.includes(fullUrlSplit[0])
) {

Expand Down

0 comments on commit e2b80dd

Please sign in to comment.