summaryrefslogtreecommitdiff
path: root/scraper/client/paper/paper.verify.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-04-02 19:31:26 +0200
committerJules Laplace <julescarbon@gmail.com>2019-04-02 19:31:26 +0200
commit78f15af7ac4b336c5e53178fd80e348151cc5f98 (patch)
treea513f50882f9dc3e75ddf9d1a144d7149ec457e4 /scraper/client/paper/paper.verify.js
parent77e2b579bc42b6c36f82dba246561293049e73f8 (diff)
fix citation doublnig prob
Diffstat (limited to 'scraper/client/paper/paper.verify.js')
-rw-r--r--scraper/client/paper/paper.verify.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scraper/client/paper/paper.verify.js b/scraper/client/paper/paper.verify.js
index 25117ff1..8794feb4 100644
--- a/scraper/client/paper/paper.verify.js
+++ b/scraper/client/paper/paper.verify.js
@@ -36,7 +36,7 @@ class PaperVerify extends Component {
const { sha256 } = this.props.match.params
this.props.actions.getInstitutions()
this.props.actions.getAddress(sha256)
- this.props.actions.getVerification(sha256)
+ this.props.actions.getVerification(this.props.api.paperInfo.dataset.key, sha256)
const citationState = this.getCitationState(sha256)
// console.log('DID MOUNT')
this.setState(citationState)
@@ -54,7 +54,7 @@ class PaperVerify extends Component {
if (oldSha256 && sha256 !== oldSha256) {
// console.log('update verification')
this.props.actions.getAddress(sha256)
- this.props.actions.getVerification(sha256)
+ this.props.actions.getVerification(this.props.api.paperInfo.dataset.key, sha256)
const citationState = this.getCitationState(sha256)
newState = {
...initialState,