Closed aaxelb closed 6 years ago
Use django's request.build_absolute_uri to build URLs in the API instead of SHARE_API_URL.
request.build_absolute_uri
SHARE_API_URL is intended for internal access to the API.
Also, add a --from parameter to fixpreprintdisambiguations, to allow narrowing its scope a little.
--from
fixpreprintdisambiguations
Coverage decreased (-0.02%) to 78.665% when pulling 1fc070ba5d00e3b7d04803abb30f9afc28a3c054 on aaxelb:hotfix/2.13.1 into 535ed53959b5124ac1b25c9a7de66becc94a6e5b on CenterForOpenScience:master.
Use django's
request.build_absolute_uri
to build URLs in the API instead of SHARE_API_URL.SHARE_API_URL is intended for internal access to the API.
Also, add a
--from
parameter tofixpreprintdisambiguations
, to allow narrowing its scope a little.