Browse Source

Fix typo in POST route

master
Lucas Verney 7 years ago
parent
commit
5eed5b2c5b
  1. 2
      routes/post.py

2
routes/post.py

@ -71,7 +71,7 @@ def create_paper(db): @@ -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")

Loading…
Cancel
Save