Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

[Bug] satsToUSD returns $NaN #378

Open
validblock opened this issue Aug 16, 2021 · 1 comment
Open

[Bug] satsToUSD returns $NaN #378

validblock opened this issue Aug 16, 2021 · 1 comment

Comments

@validblock
Copy link

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
Copy link

steveocrypto commented Aug 16, 2021

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

#268

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants