aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-12-20 11:51:20 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-12-20 13:39:44 -0800
commitefb107c849020fbd4858a6010d1ce20e8d61b913 (patch)
tree7d00e3177685c6e29fc0be7f1a1580de3633e19d
parent638d5d788e3e6f7fea4798b5d26802f7ae2de926 (diff)
downloadfatcat-efb107c849020fbd4858a6010d1ce20e8d61b913.tar.gz
fatcat-efb107c849020fbd4858a6010d1ce20e8d61b913.zip
spn: incluce link_source/link_source_id in ingest request
-rw-r--r--python/fatcat_web/forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_web/forms.py b/python/fatcat_web/forms.py
index 5539cc20..dd322cff 100644
--- a/python/fatcat_web/forms.py
+++ b/python/fatcat_web/forms.py
@@ -394,6 +394,8 @@ class SavePaperNowForm(FlaskForm):
ingest_request = {
'ingest_type': self.ingest_type.data,
'ingest_request_source': ingest_request_source,
+ 'link_source': 'spn',
+ 'link_source_id': release.ident,
'base_url': base_url,
'fatcat': {
'release_ident': release.ident,