arXiv / zzzArchived_arxiv-external-links

Clearinghouse for relations between arXiv e-prints and external resources
MIT License
4 stars 5 forks source link

Use request.json in routes #29

Closed bonotake closed 5 years ago

bonotake commented 5 years ago

Current develop branch has type mismatches. routes passes request.data to controllers.create_new() and similar functions, but these functions expects to receive JSON data. So this PR changes the arguments and passes request.json instead.