aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-12-02 17:55:51 -0800
committerBryan Newbold <bnewbold@archive.org>2021-12-02 17:55:51 -0800
commit19e334ba984513cc7cf3b4fdc92d7fa352d241bc (patch)
tree310b9f2ae453c056d6247cda8331f8c74bc9d167
parent34ffc73485e871868ec73ff9bde4339f4bc4c753 (diff)
downloadfatcat-scholar-19e334ba984513cc7cf3b4fdc92d7fa352d241bc.tar.gz
fatcat-scholar-19e334ba984513cc7cf3b4fdc92d7fa352d241bc.zip
issue-db: use new any-issn lookup endpoint
-rw-r--r--fatcat_scholar/issue_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/issue_db.py b/fatcat_scholar/issue_db.py
index d6bc3f9..38fe8b1 100644
--- a/fatcat_scholar/issue_db.py
+++ b/fatcat_scholar/issue_db.py
@@ -260,7 +260,7 @@ class IssueDB:
container: Optional[fatcat_openapi_client.ContainerEntity] = None
if meta.get("issn") and len(meta["issn"]) == 9:
try:
- container = api.lookup_container(issnl=meta["issn"])
+ container = api.lookup_container(issn=meta["issn"])
except fatcat_openapi_client.ApiException as ae:
if ae.status != 404:
raise ae