newclient

This commit is contained in:
Nour Alharithi
2023-10-26 08:25:17 -07:00
parent 7181912607
commit e047def3a6
4 changed files with 23 additions and 6 deletions

View File

@@ -86,12 +86,11 @@ export class DLOBSubscriberIO extends DLOBSubscriber {
}
if (
l2Args.updateOnChange &&
this.lastSeenL2Formatted
.get(l2Args.marketType)
?.get(l2Args.marketIndex) === JSON.stringify(l2Formatted)
l2Args.updateOnChange
) {
return;
if (this.lastSeenL2Formatted
.get(l2Args.marketType)
?.get(l2Args.marketIndex) === JSON.stringify(l2Formatted)) return;
}
this.lastSeenL2Formatted
.get(l2Args.marketType)