Skip to content

Commit 2f04de3

Browse files
authored
Merge pull request ccxt#18036 from ttodua/params-copy-3
mexc - params copy
2 parents 7c0a419 + e74586e commit 2f04de3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ts/src/mexc.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2432,8 +2432,8 @@ export default class mexc extends Exchange {
24322432
if (marketType === 'spot') {
24332433
throw new BadRequest (this.id + ' fetchOrdersByState() is not supported for ' + marketType);
24342434
} else {
2435-
params['states'] = state;
2436-
return await this.fetchOrders (symbol, since, limit, params);
2435+
request['states'] = state;
2436+
return await this.fetchOrders (symbol, since, limit, this.extend (request, params));
24372437
}
24382438
}
24392439

0 commit comments

Comments
 (0)