Skip to content

Commit

Permalink
fixing binding issues with idb upgrade callback (#2896)
Browse files Browse the repository at this point in the history
  • Loading branch information
tropicadri committed Jul 20, 2021
1 parent 46af63c commit 92dcf91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class CacheTimestampsModel {
private async getDb() {
if (!this._db) {
this._db = await openDB(DB_NAME, 1, {
upgrade: this._upgradeDbAndDeleteOldDbs,
upgrade: this._upgradeDbAndDeleteOldDbs.bind(this),
});
}
return this._db;
Expand Down

0 comments on commit 92dcf91

Please sign in to comment.