From 3f26e0fb3859b38e533dcb79d19b9fe5f433dea7 Mon Sep 17 00:00:00 2001 From: Troy McConaghy Date: Sat, 9 Sep 2017 12:01:53 +0200 Subject: [PATCH] Fixed example Python code On the Get Started page, the example Python code was slightly wrong. There should be no `/api/v1/` in the URL passed to `BigchainDB()`. This PR fixes that error. I made a similar fix on the IPDB Developer Portal home page a while back. I just noticed the same error was present on the Get Started page. --- _src/getstarted.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_src/getstarted.html b/_src/getstarted.html index 1431580..c9c871a 100644 --- a/_src/getstarted.html +++ b/_src/getstarted.html @@ -89,7 +89,7 @@ from bigchaindb_driver.crypto import generate_keypair bdb = BigchainDB( - '{{ site.ipdb_api_url }}/api/v1/', + '{{ site.ipdb_api_url }}', headers={'app_id': 'Get one from developers.ipdb.io', 'app_key': 'Same as app_id'}) alice = generate_keypair()