Bug Hunting and Fixing - SteemCard

in #utopian-io7 years ago (edited)

Expected behavior

SteemCard is NodeJS app, you can show your steemit.com membership information, your Steam look and your SBD look on your web site created by one of our Utopian.io mod: hsynterkr.

Expected behavior is showing the information stated above without any problem.

Actual behavior

Information for stated user is not shown. Also error in terminal.

SS of The Bug

problem?.png

image1.png

How to reproduce

You can follow the following procedure stated on github:

$ git clone https://github.com/hsynterkr/SteemCard.git
Open index.js in SteemCard/routes and change the account in line 7. Default account is my account. (hsynterkr)
This line --> var acount = "hsynterkr";
$ cd SteemCard
$ npm install
$ node bin/www
Go to the "localhost:3000/your_username"

What is the Reason?

The latest version of the project has the problem of endpoint. steemd.steemit.com is not being maintained now, it should be changed with api.steemit.com.

Solution

I send a Pull Request to fix the problem. You can find my Pull Reuqest using this link.

The solution is adding api.setoptions url as api.steemit.com

image2.png

SS After Solution

fixeddd.png

PS: I used the category of Bug Hunting not Development. Because after figuring out the bug, fixing is not really hard (just adding one line)



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @hsynterkr, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!

Güzel bilgiler

Hey @onurkahveci I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.24
TRX 0.22
JST 0.037
BTC 98508.22
ETH 3434.59
USDT 1.00
SBD 3.35