From 5eed5b2c5bd693bf398c52eb62f05df49b2f022c Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Sat, 26 Dec 2015 18:36:02 +0100 Subject: [PATCH] Fix typo in POST route --- routes/post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/post.py b/routes/post.py index 420e60e..9918e69 100644 --- a/routes/post.py +++ b/routes/post.py @@ -71,7 +71,7 @@ def create_paper(db): if "doi" in data: paper = create_by_doi(data["doi"], db) elif "arxiv_id" in data: - paper = create_by_arxiv(data["arxiv"], db) + paper = create_by_arxiv(data["arxiv_id"], db) if paper is None: return bottle.HTTPError(409, "Conflict")