summaryrefslogtreecommitdiff
path: root/scraper/client/store.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-02-13 22:56:35 +0100
committerJules Laplace <julescarbon@gmail.com>2019-02-13 22:56:35 +0100
commit41247c08ea359d0a72a247992d2019ae2120536c (patch)
tree89becc97e6831dd95cb5d96b297a2ce5d4395009 /scraper/client/store.js
parenta2f1969b2c7c185e04e19c22a83245ad22f8df0c (diff)
interface working
Diffstat (limited to 'scraper/client/store.js')
-rw-r--r--scraper/client/store.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/scraper/client/store.js b/scraper/client/store.js
index 3bf64114..8649d472 100644
--- a/scraper/client/store.js
+++ b/scraper/client/store.js
@@ -37,6 +37,12 @@ export default function apiReducer(state = initialState(), action) {
[action.tag]: { error: action.err },
}
+ case types.api.set_paper_key:
+ return {
+ ...state,
+ paperKey: action.paperKey
+ }
+
default:
return state
}