diff --git a/src/therapy/query.py b/src/therapy/query.py index 386b62c4..67fa4720 100644 --- a/src/therapy/query.py +++ b/src/therapy/query.py @@ -369,7 +369,7 @@ def _add_merged_meta(self, response: NormalizationService) -> NormalizationServi for src in sources: if src not in sources_meta: - sources_meta[src] = self.db.get_source_metadata(src) + sources_meta[SourceName[src.upper()]] = self.db.get_source_metadata(src) response.source_meta_ = sources_meta # type: ignore[assignment] return response