Skip to content

Commit

Permalink
Merge pull request #100 from ManfredKarrer/remove-callback-param
Browse files Browse the repository at this point in the history
Remove callback=? from request
  • Loading branch information
ManfredKarrer committed Dec 4, 2018
2 parents 5a77d50 + bf3231a commit 169a28a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/markets.js
Expand Up @@ -252,12 +252,12 @@ function buildData(jsonUrl){
//api/volumes?basecurrency=BTC&milliseconds=true&timestamp=no&format=jscallback&fillgaps=
pair = 'btc';

jsonUrl = "https://markets.bisq.network/api/volumes?basecurrency=btc&milliseconds=true&timestamp=no&format=jscallback&fillgaps=&callback=?&interval=day";
jsonUrl = "https://markets.bisq.network/api/volumes?basecurrency=btc&milliseconds=true&timestamp=no&format=jscallback&fillgaps=&interval=day";
console.log("chart volumes: " + pair);
getTrades('all');

}else{
var jsonUrl = 'https://markets.bisq.network/api/hloc'+'?market='+pair+'&timestamp=no'+'&interval=minute'+'&timestamp_from='+'&timestamp_to='+'&format=jscallback'+'&callback=?';
var jsonUrl = 'https://markets.bisq.network/api/hloc'+'?market='+pair+'&timestamp=no'+'&interval=minute'+'&timestamp_from='+'&timestamp_to='+'&format=jscallback';
console.log("chart hloc: " + pair);
getTrades(pair);
getOffers(pair);
Expand Down

0 comments on commit 169a28a

Please sign in to comment.