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]View the full contextsn0n (63)in #steemdev • 7 years ago Is there an update for https://jsfiddle.net/u9xzzbqd/ ?? Seems to not be working..
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.