Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
- It is `location`, not Location
  • Loading branch information
Chinlinlee committed Nov 11, 2022
1 parent 78e26bb commit 86acd98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/FHIR/fhir-validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ async function validate(profile, resourceContent) {
let error = e.errors[errorKey];
let message = _.get(error, "message", `${error} invalid`);
let errorIssue = new issue("error", "invalid", message);
_.set(errorIssue, "Location", [errorKey]);
_.set(errorIssue, "location", [errorKey]);
operationOutcomeError.issue.push(errorIssue);
}
return operationOutcomeError;
Expand Down

0 comments on commit 86acd98

Please sign in to comment.