mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 01:36:55 +01:00
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.
This commit is contained in:
parent
b5ad61be74
commit
3f26e0fb38
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user