summaryrefslogtreecommitdiff
path: root/scraper/client/store.js
diff options
context:
space:
mode:
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
}