From 5323a9fe53359b3eb9072dca3571a75cc2c36d5f Mon Sep 17 00:00:00 2001 From: adcpm <fabien@bonustrack.co> Date: Sun, 25 Jun 2017 04:32:00 +0700 Subject: [PATCH] Update steem path in examples --- examples/get-post-content.js | 3 ++- examples/server.js | 4 ++-- examples/test-vote.js | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/get-post-content.js b/examples/get-post-content.js index bdd6d55..7e7ee39 100644 --- a/examples/get-post-content.js +++ b/examples/get-post-content.js @@ -1,3 +1,4 @@ -const steem = require('..'); +const steem = require('../lib'); + const resultP = steem.api.getContentAsync('yamadapc', 'test-1-2-3-4-5-6-7-9'); resultP.then(result => console.log(result)); diff --git a/examples/server.js b/examples/server.js index fb1dfd2..71e35c5 100644 --- a/examples/server.js +++ b/examples/server.js @@ -1,4 +1,4 @@ -var steem = require('./../index'); +var steem = require('../lib'); steem.api.getAccountCount(function(err, result) { console.log(err, result); @@ -32,4 +32,4 @@ steem.api.getDiscussionsByActive({ start_permlink: 'this-week-in-level-design-1-22-2017' }, function(err, result) { console.log(err, result); -}); \ No newline at end of file +}); diff --git a/examples/test-vote.js b/examples/test-vote.js index ca3d1e3..c2d7bfe 100644 --- a/examples/test-vote.js +++ b/examples/test-vote.js @@ -1,4 +1,4 @@ -const steem = require('..'); +const steem = require('../lib'); const username = process.env.STEEM_USERNAME; const password = process.env.STEEM_PASSWORD; -- GitLab