mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 17:47:27 +00:00
update as niko request
This commit is contained in:
parent
4802cebf63
commit
5f825b9156
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ exports.stats = {
|
|||
msg.channel.send('coingecko API is not available');
|
||||
} else {
|
||||
data = response.body.data;
|
||||
let price_eur\ = Number(data.current_price);
|
||||
let price_eur = Number(data.current_price);
|
||||
needle.get('https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=lbry-credits&order=market_cap_desc&per_page=100&page=1&sparkline=false', function(error, response) {
|
||||
if (error || response.statusCode !== 200) {
|
||||
msg.channel.send('coingecko API is not available');
|
||||
|
|
Loading…
Add table
Reference in a new issue