SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 70ce73bb authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

DOAJ debug attempt again

parent d968ba8f
No related branches found
No related tags found
No related merge requests found
......@@ -795,7 +795,7 @@ def metadata_DOAJ_deposit(request, doi_label):
'article_json': publication.metadata_DOAJ,
}
try:
r = requests.post(url, params=params)
r = requests.post(url, json=params)
r.raise_for_status()
except requests.exceptions.HTTPError:
messages.warning(request, '<h3>%s</h3>Failed: Post went wrong, response text: %s' % (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment