summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/transform.py
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar/transform.py')
-rw-r--r--fatcat_scholar/transform.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/transform.py b/fatcat_scholar/transform.py
index 50b6810..7ff30fe 100644
--- a/fatcat_scholar/transform.py
+++ b/fatcat_scholar/transform.py
@@ -478,7 +478,7 @@ def refs_from_grobid(release: ReleaseEntity, tei_dict: dict) -> Sequence[RefStru
),
release_ident=release.ident,
work_ident=release.work_id,
- release_year=release.year,
+ release_year=release.release_year,
index=ref.get("index"),
key=ref.get("id"),
locator=None,
@@ -524,7 +524,7 @@ def refs_from_release_refs(release: ReleaseEntity) -> Sequence[RefStructured]:
),
release_ident=release.ident,
work_ident=release.work_id,
- release_year=release.year,
+ release_year=release.release_year,
index=ref.index,
key=ref.key,
locator=ref.locator,