Skip to content

Commit

Permalink
fix empty OHLCV
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmiei committed Dec 15, 2022
1 parent 0ca760f commit af92eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bybit.js
Expand Up @@ -2049,7 +2049,7 @@ module.exports = class bybit extends Exchange {
// }
//
const result = this.safeValue (response, 'result');
const ohlcvs = this.safeValue (result, 'list');
const ohlcvs = this.safeValue (result, 'list', []);
return this.parseOHLCVs (ohlcvs, market, timeframe, since, limit);
}

Expand Down

0 comments on commit af92eb7

Please sign in to comment.