Skip to content

Commit 9289c55

Browse files
authored
Merge pull request #91 from the-commons-project/shic-missing_data
fixed comment on sanity check
2 parents f212e8f + 5b23ea5 commit 9289c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/SHX.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ async function _verifySHX(shx, passcode) {
167167
for (const i in resolved.rawBundles) {
168168
addRawBundle(statusObj, resolved.rawBundles[i]);
169169
}
170-
// Check if the 'section' field is missing or empty in each FHIR bundle
170+
// Check if no entry in each FHIR bundle
171171
statusObj.bundles.forEach(bundle => {
172172
if (!bundle.fhir || !bundle.fhir.entry) {
173173
throw new DataMissingError("The provided Smart Health Link does not contain any data.");

0 commit comments

Comments
 (0)