Skip to content

Commit

Permalink
formating
Browse files Browse the repository at this point in the history
  • Loading branch information
Damion Dooley committed Aug 4, 2022
1 parent 965141d commit 4404909
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/DataHarmonizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1533,8 +1533,9 @@ class DataHarmonizer {
// iterate thru and will return the first match found in field.sources
for (const source_index in field.sources) {
const term =
self.schema.enums[field.sources[source_index]]
.permissible_values[value];
self.schema.enums[field.sources[source_index]].permissible_values[
value
];
// Looking for term.exportField['GRDI'] for example:
if (term && term.exportField && prefix in term.exportField) {
// Here mapping involves a value substitution
Expand Down

0 comments on commit 4404909

Please sign in to comment.