Skip to content

Commit

Permalink
fix: mid-session init to ct-only mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gyoshev committed Apr 4, 2023
1 parent 8b477a3 commit 07bce7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MigrationManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class MigrationManager {
public verifyState(sha: string): void {
if (sha && this.response?.sha256 !== sha) {
this.getMigrationState((s) => {
if (s === MigrationState.DUPLICATE) {
if (s === MigrationState.DUPLICATE || s === MigrationState.CLEVERTAP) {
this.initCleverTap()
if (!this.identity.isAnonymous) {
clevertap.onUserLogin.push({
Expand Down

0 comments on commit 07bce7e

Please sign in to comment.