Skip to content

Commit b7196d0

Browse files
authored
Getting id of market in searchMarketV3 fix (#285)
2 parents d60fc3e + 242244d commit b7196d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/miscRequests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ module.exports = {
160160

161161
return data.symbols.map((s) => {
162162
const exchange = s.exchange.split(' ')[0];
163-
const id = `${exchange.toUpperCase()}:${s.symbol}`;
163+
const id = s.prefix ? `${s.prefix}:${s.symbol}` : `${exchange.toUpperCase()}:${s.symbol}`;
164164

165165
return {
166166
id,

0 commit comments

Comments
 (0)