aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/transform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/transform.py b/fatcat_scholar/transform.py
index daccfd4..409e7a2 100644
--- a/fatcat_scholar/transform.py
+++ b/fatcat_scholar/transform.py
@@ -805,7 +805,7 @@ def refs_from_heavy(heavy: IntermediateBundle) -> Sequence[RefStructured]:
crossref_release = [
r for r in heavy.releases if r.ident == heavy.crossref["release_ident"]
][0]
- crossref_refs = refs_from_crossref(heavy.crossref["record"], crossref_release)
+ crossref_refs = refs_from_crossref(crossref_release, heavy.crossref)
# TODO: better logic for prioritizing/combining references from multiple sources?
# TODO: test coverage