getumbrel / umbrel-dashboard

[Deprecated] Moved to https://github.com/getumbrel/umbrel/tree/master/packages/dashboard. Web-based dashboard to interact with your Umbrel.
https://github.com/getumbrel/umbrel/tree/master/packages/dashboard
Other
133 stars 69 forks source link

[Bug] satsToUSD returns $NaN #378

Open validblock opened 3 years ago

validblock commented 3 years ago

Current Result AuthenticatedVerticalNavbar.vue displays a wrong value $NaN

Screenshot 2021-08-16 at 10 33 54

Expected Result AuthenticatedVerticalNavbar.vue displays a correct USD value

Possible reason http://umbrel.local/manager-api/v1/external/price returns an error message:

{
   "Response":"Error",
   "Message":"You are over your rate limit please upgrade your account!",
   "HasWarning":false,
   "Type":99,
   "RateLimit":{
      "calls_made":{
         "second":1,
         "minute":7,
         "hour":109,
         "day":730,
         "month":50595,
         "total_calls":90774
      },
      "max_calls":{
         "second":20,
         "minute":300,
         "hour":3000,
         "day":7500,
         "month":50000
      }
   },
   "Data":{

   }
}
steveocrypto commented 3 years ago

Really need the ability to provide your own API key to fetch pricing data instead of a global one for all nodes.

https://github.com/getumbrel/umbrel-dashboard/issues/268