Skip to content

Commit abfc422

Browse files
@jotadevelopersergiohgz
authored andcommitted
fix: missing callback
1 parent b7833e1 commit abfc422

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ class LocalDatabase implements ILocalData {
4949
if (this.data.list.indexOf(name) === -1) {
5050
this.data.list.push(name);
5151
cb(this._sync());
52+
} else {
53+
cb(null);
5254
}
5355
}
5456

0 commit comments

Comments
 (0)