Merge pull request #957 from coralproject/fix-config

Fix config parsing bug
This commit is contained in:
Wyatt Johnson
2017-09-15 16:56:24 -06:00
committed by GitHub
+1 -1
View File
@@ -42,7 +42,7 @@ function preInit({store, pym}) {
return new Promise((resolve) => {
pym.sendMessage('getConfig');
pym.onMessage('config', (config) => {
store.dispatch(addExternalConfig(config));
store.dispatch(addExternalConfig(JSON.parse(config)));
store.dispatch(checkLogin());
resolve();
});