diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-02-13 17:24:04 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-02-13 17:24:04 +0100 |
| commit | 8d17c7b8491f270ae1785921b0ae0d89f8290c7b (patch) | |
| tree | 81ef5c497f854fde827d6b71bf37f450c23ef494 /scraper | |
| parent | 706ce36948d7c59d262eae0b9870117dde5d80a8 (diff) | |
address action
Diffstat (limited to 'scraper')
| -rw-r--r-- | scraper/client/actions.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scraper/client/actions.js b/scraper/client/actions.js index ee3511bc..78c9143a 100644 --- a/scraper/client/actions.js +++ b/scraper/client/actions.js @@ -23,6 +23,10 @@ export const getPaperInfo = (key) => dispatch => { api(dispatch, get, 'unknownCitations', '/reports/datasets/unknown/' + key + '.json', {}) } +export const getAddress = sha256 => dispatch => { + api(dispatch, get, 'address', '/api/address/' + sha256, {}) +} + export const postAddress = data => dispatch => { api(dispatch, post, 'address', '/api/address', data) } |
