Skip to content

Commit

Permalink
okcoinusd web api fix #2972
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed May 28, 2018
1 parent 65ddf1c commit f3164f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/okcoinusd.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ module.exports = class okcoinusd extends Exchange {
'api': {
'web': {
'get': [
'markets/currencies',
'markets/products',
'spot/markets/currencies',
'spot/markets/products',
],
},
'public': {
Expand Down Expand Up @@ -112,7 +112,7 @@ module.exports = class okcoinusd extends Exchange {
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27766791-89ffb502-5ee5-11e7-8a5b-c5950b68ac65.jpg',
'api': {
'web': 'https://www.okcoin.com/v2/spot',
'web': 'https://www.okcoin.com/v2',
'public': 'https://www.okcoin.com/api',
'private': 'https://www.okcoin.com/api',
},
Expand Down Expand Up @@ -148,7 +148,7 @@ module.exports = class okcoinusd extends Exchange {
}

async fetchMarkets () {
let response = await this.webGetMarketsProducts ();
let response = await this.webGetSpotMarketsProducts ();
let markets = response['data'];
let result = [];
const futureMarkets = {
Expand Down

0 comments on commit f3164f9

Please sign in to comment.