From 440490974a6fbb1e0b85e2d8b93095f78610ffef Mon Sep 17 00:00:00 2001 From: Damion Dooley Date: Thu, 4 Aug 2022 15:19:55 -0700 Subject: [PATCH] formating --- lib/DataHarmonizer.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/DataHarmonizer.js b/lib/DataHarmonizer.js index 048162bf..e269dcb2 100644 --- a/lib/DataHarmonizer.js +++ b/lib/DataHarmonizer.js @@ -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