Skip to content

Commit

Permalink
fix: active symbol call sequence after authorize
Browse files Browse the repository at this point in the history
  • Loading branch information
shafin-deriv committed Feb 5, 2025
1 parent 39fc911 commit 31a1cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/external/bot-skeleton/services/api/api-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class APIBase {
this.api?.connection.addEventListener('close', this.onsocketclose.bind(this));
}

if (!this.has_active_symbols) {
if (!this.has_active_symbols && !V2GetActiveToken()) {
this.active_symbols_promise = this.getActiveSymbols();
}

Expand Down

0 comments on commit 31a1cc9

Please sign in to comment.