Skip to content

Commit

Permalink
Revert change with 'callback=?'
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfredKarrer committed Dec 4, 2018
1 parent a6c2e5b commit 2ce84c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/markets.js
Original file line number Diff line number Diff line change
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=&interval=day";
jsonUrl = "https://markets.bisq.network/api/volumes?basecurrency=btc&milliseconds=true&timestamp=no&format=jscallback&fillgaps=&callback=?&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';
var jsonUrl = 'https://markets.bisq.network/api/hloc'+'?market='+pair+'&timestamp=no'+'&interval=minute'+'&timestamp_from='+'&timestamp_to='+'&format=jscallback'+'&callback=?';
console.log("chart hloc: " + pair);
getTrades(pair);
getOffers(pair);
Expand Down

0 comments on commit 2ce84c3

Please sign in to comment.