diff --git a/README.md b/README.md index d397898..2e7375a 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,11 @@ You may be asked to login again. After login, you will land on the Bluemix Da             ![](readme_images/services2.PNG) - * The 'Cloud Foundry Apps' tile shows the memory you have available for apps. You will require at least 512 MB of free space to deploy an app during the lab. If you do not have 256MB of free space, then delete some existing apps (visible in your dashboard) before proceeding to the next step. + * The 'Cloud Foundry Apps' tile shows the memory you have available for apps. You will require at least 512 MB of free space to + + + + an app during the lab. If you do not have 256MB of free space, then delete some existing apps (visible in your dashboard) before proceeding to the next step.             ![](readme_images/services1.PNG) @@ -89,7 +93,7 @@ You may be asked to login again. After login, you will land on the Bluemix Da 1. Click on the 'Deploy to Bluemix' button below. -             [![Deploy to Bluemix](https://bluemix.net/deploy/button.png)](https://bluemix.net/deploy?repository=https://github.com/apiBlockchain/GscLabBlockchainApp.git) +             [![Deploy to Bluemix](https://bluemix.net/deploy/button.png)](https://bluemix.net/deploy?repository=https://github.com/jansony1/GscLabBlockchainApp.git) 2. Log in with your Bluemix account. diff --git a/app.js b/app.js index c27232a..827f1ee 100644 --- a/app.js +++ b/app.js @@ -314,11 +314,11 @@ try { //var manual = JSON.parse(fs.readFileSync('mycreds_BlockchainAug22.json','utf8')); //var manual = JSON.parse(fs.readFileSync('my_credsgsclabtest3.json','utf8')); var manual = JSON.parse(fs.readFileSync('my_credsgsclabtest3.json','utf8')); - peers = manual.credentials.peers; + peers = manual.peers; users = null; // users are only found if security is on - if (manual.credentials.users) - users = manual.credentials.users; + if (manual.users) + users = manual.users; console.log('loading hardcoded users'); } catch (e) { diff --git a/package.json b/package.json index 2d9d4bf..8a3afb3 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "debug": "0.7.4", "express": "4.0.0", "express-session": "1.2.1", - "ibm-blockchain-js": "1.2.*", + "ibm-blockchain-js": "1.3.2", "jade": "1.3.1", "morgan": "1.1.1", "serve-static": "1.9.2", @@ -41,4 +41,4 @@ "name": "IBM GSC FSS" }, "license": "Apache-2.0" -} \ No newline at end of file +}