You are viewing a single comment's thread from:
RE: [Tutorial] Calculating your Steem Power using SteemJS [bonus content: an Angular Pipe that does it for you]
Looks like the signatures of these functions changed some time. The parameters for Promise.all
should promises themselves. So I tweaked the code a little. I am not sure if this is the best way as I had create a new promise for each API call.
You can check it out here https://jsfiddle.net/u0wwf829/2/
Thanks for the update. Checking it out now.