Fix typo in POST route

This commit is contained in:
Lucas Verney 2015-12-26 18:36:02 +01:00
parent 8e85602783
commit 5eed5b2c5b
1 changed files with 1 additions and 1 deletions

View File

@ -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")