fix example

This commit is contained in:
Matthias Kretschmann 2017-06-14 15:15:54 +02:00
parent c5f14f4df8
commit e40e332b0f
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ const tx = driver.Transaction.makeCreateTransaction(
const txSigned = driver.Transaction.signTransaction(tx, alice.privateKey)
// Send the transaction off to BigchainDB
let conn = new driver.Connection(PATH, { 'Content-Type': 'application/json' })
let conn = new driver.Connection(API_PATH, { 'Content-Type': 'application/json' })
conn.postTransaction(txSigned)
.then(() => conn.getStatus(txSigned.id))