We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac057f commit 24e43f6Copy full SHA for 24e43f6
lib/transports/ws2.js
@@ -1527,12 +1527,12 @@ class WSv2 extends EventEmitter {
1527
? order.toNewOrderPacket()
1528
: new Order(order).toNewOrderPacket()
1529
1530
- if (this.affCode) {
+ if (this._affCode) {
1531
if (!packet.meta) {
1532
packet.meta = {}
1533
}
1534
1535
- packet.meta.aff_code = this.affCode // eslint-disable-line
+ packet.meta.aff_code = packet.meta.aff_code || this._affCode // eslint-disable-line
1536
1537
1538
this._sendOrderPacket([0, 'on', null, packet])
0 commit comments