1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

[bug] Default the state version check function to 1 (#657)

This commit is contained in:
Addison Beck
2022-02-07 11:08:07 -05:00
committed by GitHub
parent 7afb748791
commit 0760b53296

View File

@@ -461,6 +461,6 @@ export class StateMigrationService<
} }
protected async getCurrentStateVersion(): Promise<StateVersion> { protected async getCurrentStateVersion(): Promise<StateVersion> {
return (await this.getGlobals())?.stateVersion; return (await this.getGlobals())?.stateVersion ?? StateVersion.One;
} }
} }