From e40e332b0f4b28c78336a345efbba7b9937b76e9 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 14 Jun 2017 15:15:54 +0200 Subject: [PATCH] fix example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 554bdca..cf40316 100644 --- a/README.md +++ b/README.md @@ -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))