Skip to content

Commit 2abae4f

Browse files
@jotadevelopersergiohgz
authored andcommitted
fix: sync after set secret
1 parent bf8d664 commit 2abae4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/local-storage/src/local-database.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class LocalDatabase implements ILocalData {
3737

3838
setSecret(secret: string) {
3939
this.data.secret = secret;
40+
this._sync();
4041
}
4142

4243
/**

0 commit comments

Comments
 (0)