Skip to content

Commit

Permalink
Merge pull request #246 from shafin-deriv/shafin/BOT-2675/chore-activ…
Browse files Browse the repository at this point in the history
…e-symbol-call-sequence

fix: active symbol call sequence after authorize
  • Loading branch information
rupato-deriv authored Feb 7, 2025
2 parents 39fc911 + 31a1cc9 commit e2dabdc
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 e2dabdc

Please sign in to comment.