Skip to content

Commit 5b23ea5

Browse files
committed
fixed comment on sanity check
1 parent 1806ec8 commit 5b23ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/SHX.js

Lines changed: 1 addition & 1 deletion
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)